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 vote
Alexey Matveev Community Champion Dec 14, 2017

Hello,

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

118 views 0 5
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