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

Accepted Answer
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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,356 views 2 7
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