Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Transition of status only when all linked issues have same status?

Danish Hussain Sabunwala
Contributor
August 1, 2022

Hello Team,

Suppose, I have an issue(P1) having 3 linked issues(relates to) issues(C1,C2,C3). What I need is for P1 to only transition from "In Progress" to "Done" when all the other issues(C1, C2, C3) are in "In Progress".

If even one of them is not in "In Progress", P1 must not allow anyone to transition to "Done" status.
Can this be done using script runner or is there any other approach which I am not getting? 

Thank in advance.

Danish Hussain

2 answers

1 accepted

0 votes
Answer accepted
Danish Hussain Sabunwala
Contributor
August 5, 2022

Hello everyone,

I tried to approach the following by the use of Automation.
We only require to add 1 'Related issues condition' with condition 'All match specified JQL' and then provided the JQL as "status = 'your_status'".

Thanks,

Danish Hussain

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 1, 2022

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events