How is workflow 'activated'?
Once you have created a new workflow or modified an inactive workflow, you will need to 'activate' it. To activate a workflow, you need to:
- Create a workflow scheme that references your workflow and optionally associate it with the relevant issue type(s).
- Associate the workflow scheme with the relevant project(s).
Some terminology:
- 'Active' workflows are those that are currently being used.
- 'Inactive' workflows are those that are not associated with any workflow schemes, or are associated with workflow schemes that are not associated with any projects.
If you edit an active workflow, it does not need to be re-activated after your changes. Read more about editing active workflows.
What is a 'workflow scheme'?
A 'workflow scheme' defines a set of associations (or 'mappings') between any workflow and any issue type. A workflow scheme is associated with a project, which thereby defines what issue types available in the project use what workflows. Workflow schemes make it possible to use a different workflow for every combination of project and issue type.
Creating a workflow scheme
To create a workflow scheme (and assign a workflow to it):
- 「JIRA 管理者」 グローバル権限 を持つユーザーとしてログインします。
- Select Administration > Issues > Workflows > Workflow Schemes (tab) to open the Workflow Schemes page, which shows a list of all existing workflow schemes in your system.
Keyboard shortcut: g + g + start typing workflow schemes - Click the Add Workflow Scheme button to open the Add Workflow Scheme dialog box.
- In the Add Workflow Scheme dialog box, type a Name and (optionally) a short Description for the new workflow scheme.
- Click the Add button and the Assign Workflows & Issue Types page for your new workflow scheme is displayed.
- Click the Assign Workflow button and the Assign Workflow to Scheme: <name of your workflow scheme> page is displayed.
- In the Issue Type dropdown list, select an issue type that is relevant to your workflow.
You can also select All Unassigned Issue Types to associate your workflow with all issue types that do not have a specific association in this workflow scheme. - In the Workflow dropdown list, select the name of your new workflow.
- 追加ボタンをクリックします。
- Repeat the previous step until your new workflow has been associated with all the relevant issue types.
You can choose different workflows for some issue types if you wish.
Once a workflow scheme is fully defined, you need to associate it with one or more projects (see below) so that the scheme's workflows are actually used by your JIRA system.
Assigning multiple workflows to a workflow scheme
A project can only be associated with one workflow scheme (see below). Hence, to allow a project to use different workflows (i.e. for different issue types), assign these workflows to a given workflow scheme and then assign that workflow scheme to the project (below).
To assign additional workflows to a workflow scheme:
- Log in as a user with the JIRA Administrators global permission.
- Select Administration > Issues > Workflows > Workflow Schemes (tab) to open the Workflow Schemes page, which shows a list of all existing workflow schemes in your system.
Keyboard shortcut: g + g + start typing workflow schemes - Locate the workflow scheme you want to assign an additional workflow to and click the workflow scheme's Assign link under the Operations column.
- Click the Assign Workflow button and the Assign Workflow to Scheme: <name of chosen workflow scheme> page is displayed.
- In the Issue Type dropdown list, select an issue type that is relevant to the appropriate workflow.
You can also select All Unassigned Issue Types to associate your workflow with all issue types that do not have a specific association in this workflow scheme. - In the Workflow dropdown list, select the appropriate workflow.
- 追加ボタンをクリックします。
- Repeat the previous step until your new workflow has been associated with all the relevant issue types.
You can choose different workflows for some issue types if you wish. - Go back to step 3 for each additional workflow you want to assign to the workflow scheme.
Once a workflow scheme is fully defined, associate it with one or more projects (see below).
Modifying a workflow scheme
You can modify a workflow scheme, in the following ways:
- Change the name and/or description of a workflow scheme
- Change the associations between workflows and issue types in a workflow scheme
- ワークフロー スキームをコピーする
- ワークフロー スキームを削除する
To modify a workflow scheme:
- Select Administration > Issues > Workflows > Workflow Schemes (tab) to open the Workflow Schemes page, which shows a list of all existing workflow schemes in your system.
Keyboard shortcut: g + g + start typing workflow schemes - Locate the workflow scheme you want to modify.
- Modify your workflow scheme as follows:
- To change the workflow scheme's name and/or description:
- Click the workflow scheme's Edit link under the Operations column.
- Modify the Name and Description accordingly and click the Update button.
- To change the workflow scheme's associations between workflows and issue types:
- Click the workflow scheme's Assign link under the Operations column.
- To delete an association between a workflow and issue type(s), click the Delete link against the relevant association between issue type(s) and workflow.
- To create an association between a workflow and issue type(s), follow the Assigning multiple workflows to a workflow scheme procedure (above) from step 4.
- To copy a workflow scheme, click the workflow scheme's Copy link.
The copied workflow is given the name Copy of <name of copied workflow scheme> - To delete a workflow scheme, click the workflow scheme's Delete link.
You will be asked to confirm the deletion.
Please Note: It is not possible to modify an active workflow scheme. An active workflow scheme is one that is currently associated with one or more projects. Instead:
- Copy the active workflow scheme.
- Modify your newly copied workflow scheme (which will be inactive).
- Associate all the relevant projects with the copied and modified workflow scheme (see below).
At this point, your copied/modified workflow scheme will be active.
ワークフロー スキームをプロジェクトに関連付ける
To associate a workflow scheme with a project:
- 「JIRA 管理者」 グローバル権限 を持つユーザーとしてログインします。
- Select Administration > Projects and from the dropdown menu, select the name of the project of interest. The Project Summary page is displayed.
Keyboard shortcut: g + g + start typing projects - On the left of the Project Summary page, click the Workflows tab (or in the Workflows section, click either the name of the current workflow scheme or the More link). The Workflows page is displayed, indicating the current workflow scheme used by the project.
Screenshot: The project's 'Workflows' page
project-workflows-select-workflow-scheme.png - Click the Actions dropdown menu and choose Select a scheme (or Use a different scheme). The Associate Workflow Scheme to Project page is displayed.
- Select the relevant workflow scheme from the Scheme list and click the Associate button.
- Follow the wizard, which will guide you through migrating all the project's issues to the new scheme's workflows.
注意:
- You can associate a single workflow scheme with more than one project although, only one workflow scheme can be associated with a given project. See Assigning multiple workflows to a workflow scheme (above) for details on how you can make project to use more than one workflow.
- Be aware that the issue type scheme associated with a project defines what issue types are available to that project. Hence, if an issue type (defined in the same project's workflow scheme) is not defined in the project's issue type scheme, then that issue type's workflow will not be used. Of course, this situation will change if that issue type is subsequently added to the project's issue type scheme.
Disassociating a Workflow Scheme from a Project
To disassociate a workflow scheme from a project, i.e. associate the project with JIRA's default workflow scheme:
- 「JIRA 管理者」 グローバル権限 を持つユーザーとしてログインします。
- Select Administration > Projects and from the dropdown menu, select the name of the project of interest. The Project Summary page is displayed.
Keyboard shortcut: g + g + start typing projects - On the left of the Project Summary page, click the Workflows tab (or in the Workflows section, click either the name of the current workflow scheme or the More link). The Workflows page is displayed, indicating the current workflow scheme used by the project.
Screenshot: The project's 'Workflows' page
project-workflows-select-default-workflow-scheme.png - Click the Actions dropdown menu and choose Use a different scheme. The Associate Workflow Scheme to Project page is displayed.
- Select the Default workflow scheme from the Scheme list and click the Associate button.
- Follow the wizard, which will guide you through migrating all of the project's issues to the default workflow.
All projects that do not have an associated workflow scheme use JIRA's default workflow.