POST /rest/api/2/workflowscheme/update/mappings

Gets the required status mappings for the desired changes to a workflow scheme. The results are provided per issue type and workflow. When updating a workflow scheme, status mappings can be provided per issue type, per workflow, or both.

Permissions required:

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String Yes

The ID of the workflow scheme.

defaultWorkflowId String No

The ID of the new default workflow for this workflow scheme. Only used in global-scoped workflow schemes. If it isn't specified, is set to Jira Workflow (jira).

workflowsForIssueTypes[] Array Yes

The new workflow to issue type mappings for this workflow scheme.

workflowsForIssueTypes[].issueTypeIds[] Array Yes

The issue types assigned to the workflow.

workflowsForIssueTypes[].workflowId String Yes

The ID of the workflow.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.