This article explains how to associate a workflow to a workflow scheme using the Jira Command Line Interface (CLI) app.
Instructions
Use the associateWorkflow action to associate a workflow to the workflow scheme with name and workflowScheme as mandatory parameters.
- name: Name of the workflow
- workflowScheme: Workflow scheme name or ID. Use blank for default scheme.
Execute the following CLI command:
Code Block | ||
---|---|---|
| ||
--action associateWorkflow --name "Associate_Workflow_1" --workflowScheme "Associate_Workflow_Scheme_1" |
For this example, we created a new workflow named Associate_Workflow_1, and workflow schema named Associate_Workflow_Scheme_1 as shown:
In your instance, the terminal output and result in Jira is displayed. For this example, the following outputs appear upon execution of the given CLI command:
Output on the terminal:
Code Block theme Midnight Workflow 'Associate_Workflow_1' associated to 'Associate_Workflow_Scheme_1'.
Output in Jira:
Info |
---|
|