Move parent issue to in progress , when any 1 out 5 subtasks are move to In Progress

Sohail Alam March 13, 2024

Untitled.png

2 answers

1 accepted

0 votes
Answer accepted
Kalyan Sattaluri
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.
March 13, 2024

Hello @Sohail Alam 

 

You can move the "If" condition outside of the branch to check that issue whihc was transitioned was a sub-task, and you dont need further check on sub-task status inside branch.. you can do that at the trigger itself.

image.png

Sohail Alam March 13, 2024

Thank you @Kalyan Sattaluri , it`s working now.

Kalyan Sattaluri
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.
March 13, 2024

@Sohail Alam 

Great. One suggestion is that inside your branch, you do a check that the parent is not In Progress already, or any other statuses. You dont want to "de-transition" the parent if its already in "In progress"...

 

 

 

image.png

Sohail Alam March 13, 2024

Thank you, and one more question, instead of updating all 3 subtasks to In progress and changing the status of Parent, can we do like if the 2nd subtask with Summary ABC is moved into Progress, then change the status of the Parent?

Thanks

Kalyan Sattaluri
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.
March 13, 2024

You can do that check before the branch, please my screenshot below.

Please note, I am using If/Else block instead of normal If cause it lets us use multiple if conditions directly.

So I added 2 conditions. One checks field condition, another is JQL check.. 

Also, not sure about second sub-task check. It gets complicated once we go that route.

 image.png

0 votes
Sohail Alam March 13, 2024

I have been trying to move the parent status to Waiting for implementation if the subtasks are moved to in progress. There are 3 sub tasks where if any one is changed to In progress then move the parent to Waiting for implementation.

Thanks

Suggest an answer

Log in or Sign up to answer