Forums

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

Can I make transition skip all other times after it is run the first time?

Hizkeel Khan
Contributor
July 6, 2023

Hello,

So, here is what In want to do? I have made a Transition from In Progress to Code Review Status. After Code Review, it is moved to testing. If tester finds some bugs, it is moved to To-Do state again and then code review again. 

Is there any way to skip the transition from In Progress to Code Review second time because the code is already reviewed the first time? 

I hope I have made my question clear? 

1 answer

1 accepted

2 votes
Answer accepted
Marco Brundel
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.
July 6, 2023

Hi @Hizkeel Khan ,

In your case you can use the 'previous status' condition.

regards, Marco
Screenshot 2023-07-06 at 11.46.04.png

Hizkeel Khan
Contributor
July 6, 2023

Thank you for the reply. Can you please explain it in detail? I need to condition from the workflow?
Let me try and I'll let you know how it goes.

Like John Funk likes this
Marco Brundel
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.
July 6, 2023

Hi @Hizkeel Khan ,

By adding a condition to a transition in the workflow, the transition is available or not. Depending on whether issue or user meets the condition.

So add to the transition from In Progress to Code Review the 'previous status' condition that transition is only available issue has not been in status 'Code Review'. And make sure there is a transition from In Progress to Testing with the 'previous status' condition that this transition is only available issue has already been in status 'Code Review'.

Good luck.

regards, Marco

Like Hizkeel Khan likes this
Hizkeel Khan
Contributor
July 6, 2023

@Marco Brundel - I'm not sure if it works for me. I have added the condition from In Progress to Code Review Status:

I have not attained the results I wanted...I have attached the screenshots for reference. What I want is If story is moved to first time from In Progress to Code Review then Testing...

Moved from Testing to In Progress again. When from In progress, it should move to testing directly not Code Review because it has been in this status already.

Step 1:
In Prog to Code Review.png

Step 2:
Code Review Started.png

Step 3:
Detailed Step.png

Marco Brundel
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.
July 6, 2023

Hi @Hizkeel Khan ,

It is then important to make a transition from In Progress to Testing. On this 'new' transition I would put the status 'Code review started' in the 'previous status' condition and not check 'reverse condition'.

On the transition 'Code review started' I would put the status 'Code review' in the 'previous status' condition and a check mark at 'reverse condition'.

Unfortunately, due to the login problems, I can't imitate it myself at the moment.

regards, Marco

Like Hizkeel Khan likes this
Hizkeel Khan
Contributor
July 11, 2023

@Marco Brundel - Sorry for the late reply. I have tried it and it works perfectly fine. Thank you so much! 

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