Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional State Transition.

Deleted user April 30, 2013

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
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2013

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

Ramiro Pointis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2013

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.

0 votes
Deleted user May 15, 2013

This helped a lot. Thanks guys.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events