The subtask creation fails with the error "Transition is not authorized because current issue's parent issue should be in one of the following statuses"
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
This article elaborates on the scenario where the creation of a subtask fails due to an error in the parent issue status. Despite the parent issue being in the one of the status configured in the validator, the transition cannot be executed.
環境
Jira Cloud
診断
This scenario is observed when there is more than one validator configured for the parent status i.e. two or more unique validators are added to validate the parent issue status.
ソリューション
In order to resolve this and perform a seamless transition, the workflow associated with the subtask needs to be modified:
- Navigate to the workflow configured for the Subtask Issue Type under the Project Settings.
- Edit the workflow and select the Create step.
- Navigate to the validator configured for the Create step.
- There will be more than one validator configured for validating the parent issue status.
- Please ensure that only one validator is added and remove the redundant validators for parent status. If multiple status need to be selected, it can be done using a single validator and selecting multiple options from the list. This will ensure that transition is successfully performed if parent is in one of the selected status from the list.
- Publish the workflow and the subtask should now be created successfully.