How to block an epic from transitioning to done/cancelled if linked tasks are not in done/cancelled

Pierre Guyénot November 6, 2024

Hi there,

I just achieved to change our global workflow for all company runned projects concerning our task-subtask relation. Meaning that a task can`t transition to the status done/cancelled if not all related subtasks have the status done/cancelled. I used the subtask condition, which works perfectly fine.

Jira10.PNG

 

Unfortunately I struggle with the exact same setting for the relation epic-task. So all linked tasks have to be in status done/cancelled to transition an epic to done/cancelled.

Is there a quick way to achieve this? Thanks very much in advance.

Cheers, Pierre

 

2 answers

1 accepted

2 votes
Answer accepted
Dick
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 6, 2024

Hi @Pierre Guyénot 

It is not there, but you can have an automation triggered by the status change of the epic and check it's children. If not all children are in the done status, you "repair" the epic status with the {{triggerissue.status.fromString}} value. 

 

Not ideal, but practical,

Dick

0 votes
Maciej Dudziak _Forgappify_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 6, 2024

Hi @Pierre Guyénot 

It is not possible out-of-the-box, but if you are open to using apps and looking for a ready-to-use solution. We've developed the Linked Issues Validator available as part of the Workflow Building Blocks for Jira app. With a wizard-like UI, you can select options that represent your case. You can choose relations from: sub-tasks, parent issues, epic stories or all children, and linked issues. Additionally, you can filter relations by issue types and select criteria based on status category and status.

I hope it would help.

Cheers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events