Skip to content

confluence-task: support for workflow default variable #71

@benbroadaway

Description

@benbroadaway

Currently, the runtime-v2 confluence plugin does not support workflow-defined default variables like the documentation suggests.

configuration:
  arguments:
    confluenceParams:
      apiUrl: "https://confluence.example.com/rest/api/"

It does support policy-defined default variables, but a user can't use a "global" workflow variable defined in configuration.arguments to override the defaults.

Result result = new ConfluenceTaskCommon(context.workingDirectory(), context.variables().toMap())
.execute(TaskParams.of(input, context.defaultVariables().toMap()));

For parity with the runtime-v1 task implementation, it should look for a similar default global variable and let it override the policy-defined default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions