How to prevent issues from being closed while the sub-tasks are still open in Jira
プラットフォームについて: Cloud および Data Center - この記事はクラウドと Data Center 両方のプラットフォームに等しく適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
As a Jira Admin, you want to prevent a parent issue from being closed unless all sub-tasks are on a specific status.
環境
- Jira Server/Data Center on any version
- For Jira Cloud, this article only applies to company-managed projects.
If the lower-left of your service project sidebar says you're in a team-managed project.
- Learn more about the difference between company-managed and team-managed projects.
ソリューション
- Log in to Jira's administration screen: Cog Icon > Issues > Workflows.
- Select the workflow that you would like to add the condition and Edit.
- Select the transitions that leads to the Close status and click Conditions. In the example below, the condition will be added in the All > Done transition.
- On the next screen, click Add Condition and select Sub-Task Blocking Condition. Select the sub-task statuses required to allow parent issue transitions.
- 更新されたワークフローを公開します。
最終更新日: 2024 年 10 月 23 日
Powered by Confluence and Scroll Viewport.