Forums

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

Issue Transition to certain status mandatory the first time

Hizkeel Khan
Contributor
June 7, 2024

Hi Everyone,

I have 3 statuses where my tickets moved i.e. In Progress, Code Review, Testing

If work on some ticket is done then I want the ticket to move only to Code Review status. Since this is the first time ticket is moving from In Progress so the only status it should move to is Code Review. 

Now, If the ticket is in Code Review, Review is done and ticket moves back to To-Do then the next time I want the ticket to be moved to either Code Review or Testing depends on the developer. 

But it should be mandatory the first time. 

Looking Forward.

2 answers

0 votes
John Funk
Community Champion
June 7, 2024

Hi Hizkeel,

Why are you moving the ticket backwards? That is not standard Agile practice. 

Hizkeel Khan
Contributor
June 7, 2024

If the senior developer have recommended some improvements when code is reviewed then ticket moved back to To-Do and then In Progress so that improvement points can be handled. @John Funk 

John Funk
Community Champion
June 8, 2024

Again, that's not standard. That sounds like it is either new work and a new issues should be created to track it. Or it's a bug/defect and should stay in this status until fixed (or another issue created to deal with the bug). 

0 votes
Pavol Gočal
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.
June 7, 2024

Hell @Hizkeel Khan

the easiest solution I can think of is creating a custom field (for example "IsCodeReviewed") and set it's value (for example "True") in transition post function when the ticket goes from "In Progress" to "Code Review".

Then on transition to Testing, add condition to show this transition only if "IsCodeReviewed" custom field has a value (which will be true only if the ticket goes from "In Progress" to "Code review" first).

Then the next time the ticket goes from TO DO state, the transition to "Testing" will be available because the custom field will have value.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events