Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Condition for transition Jira Software Cloud

Cafarova Ainura December 15, 2022

Hi,

we use Jira Software Cloud. We need to write a condition for the transition: The transition is available if the linked issue (same epic link) goes to Done?

Thanks for helping!

 

2 answers

1 accepted

0 votes
Answer accepted
Marta Woźniak-Semeniuk
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.
December 15, 2022

Hey @Cafarova Ainura To make sure I understand your goal - you want the issue to be only available to transition if 

a) all liked issues under EPIC are Done then EPIC can be DONE too

b) if the issue A linked to issue B using "link issue" is already done, issue B can be DONE too

c) something else :) 

Cafarova Ainura December 15, 2022

hi, @Marta Woźniak-Semeniuk 

we have 2 tasks which has 1 epic link.

When 1st task transition to status Done, 2nd task can to transition to. status To Do

 

Marta Woźniak-Semeniuk
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.
December 15, 2022

Hm, that might be very hard to do. Maybe if the 1st issue is marked as blocking the 2nd issue then moving it to final status would mean the 1st issue is not blocked anymore and 2nd issue could be automatically moved to next status.

See this thread https://community.atlassian.com/t5/Jira-questions/Scriptrunner-Jira-Cloud-Transition-An-Issue-When-Linked-Issues/qaq-p/939201

Other than that, I don't know what else could help, sorry. Hope you get your answer.

0 votes
Rilwan Ahmed
Community Champion
December 15, 2022

Hi @Cafarova Ainura ,

Welcome to the community !!

At present, the native Jira doesnot have this condition. There is only Condition to block parent issue transition depending on sub-task status in present. 

Try JMWE add-on or You need to check https://marketplace.atlassian.com/ if there are other apps which can do the work. 

Cafarova Ainura December 15, 2022

@Rilwan Ahmed 

 hi, we use Scriptrunner, but I write this script condition 

parentEpic = {{triggerIssue.parent}}

but it's not working(

Снимок экрана 2022-12-15 в 14.35.31.png

Suggest an answer

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

Atlassian Community Events