Condition to jump status/skip flow if all sub-task are completed - JIRA Workflow

I have created an workflow and used the Add-on: Add Issue on Transition in which I am able to automate sub-task creation on transition. Now I have another small help that I need.

Please refer to the Diagram attached. 


When I hit the transition: Primary Stakeholder_Test Category                 ,

Expectation: 2 sub-tasks should be created –      

(1) Secondary Stakeholder 1_Testing step

(2) Secondary Stakeholder 2_Testing step

Result: Working as expected


Now when I go back to the original Issue ticket, I still have to choose one of the same sub-task path to reach to HMA Service_Test Category.

Is there a way where I can put a condition/postfunction that can go directly from Primary Stakeholder_Test Category (status) to HMA Service_Test Category (status) if both the subtask are completed?

I have tried using the following condition "All Sub-tasks must have one of the following statuses to allow parent issue transitions: CLOSED" but it did not work 

Thank you.1.png


1 answer

0 votes
Alexey Matveev Community Champion Dec 14, 2017


If you want to go from Primary Stakeholder_Test Category (status) to HMA Service_Test Category (status) then you need a direct transition. In your screenshot you do not have  a direct transition. You can only go to HMA Service_Test Category (status) only from Secondary stakeholder statuses. Make a direct transition and execute it when needed.

Thanks Alexey. 

I did add a transition now going directly from Primary Stakeholder_Test Category (status) to HMA Service_Test Category (status). Although I do not know which condition to add? Sub-task blocking condition?

What I want is to hide that transition until all sub-tasks are closed and redirect it automatically to HMA Service_Test Category (status) when all sub-tasks are closed. 

Let me know what you think. Thanks again. 

Alexey Matveev Community Champion Dec 15, 2017

Yes, You can use sub-task blocking condition

Perfect Alexey. 

Thank you a lot. Your answer helped! :)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot