Conditional State Transition.

Hello,

I've been trawling through the documetation trying to find an example of a conditional state transition, but no luck so far.

So here's the issue I'm facing:

- Once a bug is logged, it goes to a Tech lead for validation

- If it is a valid issue, the lead will decide wether or not they want to review the issue once a fix has been committted

Here's what I'd love to do:

- When assigning the bug to the developer, the lead will mark the ticket as either a 'Will Review' or 'Won't Review' issue.

- When the bug has been fixed by the dev and they hit 'Fix Implemented' the bug will go back to the tech lead for review if it has the 'Will Review' value OR if the issue is marked 'Won't Review', the issue goes straight to QA.

So, basically, what this aims to do is to transition the ticket into 1 of 2 states based on a previously inputted parameter. I do really hope this is possible.

Cheers,

-Stephen.

2 answers

1 accepted

1 vote

Yes, you can use the "Value Field" workflow condition. You can have 2 transition with the same name, one taking the user back to "tech lead" for review and the other to QA. The "Value Field" condition will check the value "Will Review" or "Won't Review".

https://confluence.atlassian.com/display/JIRA/Advanced+Workflow+Configuration#AdvancedWorkflowConfiguration-Addingacondition

That would be a great approach, the condition in the transition will make the back to tech lead option visible on the issue if it has the Will Review value on the field, if it has Wont review then it will show the QA option.

This helped a lot. Thanks guys.

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 ...

3,197 views 13 19
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