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


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. 

Yes, You can use sub-task blocking condition

Perfect Alexey. 

Thank you a lot. Your answer helped! :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

811 views 3 9
Read article

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