Forums

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

Create a 'Code Review' subtask in Automation & Transition the subtaks to Code Review

Vineet Sawhney May 28, 2020

Hi, So this is what I'm trying to do in Automation... When a Task transitions to 'Ready for Review' > Create a 'Code Review' subtask.... this works fine.

The challenge is that new 'Code Review' subtask is sitting in backlog even after applying a few transition conditions in automation - by following the right path. And the main Task basis which I trigged and created the subtask in in 'Code Review' status

Maybe I'm doing a silly mistake that's why the new 'Code Review' subtask is not transitioning to 'Code Review'

Screenshot 2020-05-28 at 9.05.55 PM.png

Any help would be appreciated.

thanks, Vineet.

 

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
May 28, 2020

Hi Vineet,

Place a Branch rule / related issues component before the Transition to Code Review. 

Use Most Recently Created Issue

Vineet Sawhney May 28, 2020

Thanks a lot @John Funk ... it definitely helps in fixing the core problem. But still stuck on the transition of the 'Code Review' task from 'Backlog' to 'Code Review' status. I have not allowed 'Everyone can transition' to my statuses hence I have to make Automation follow a path but it seems like the change is so fast in Jira it still reads the prior Status as Backlog and not transiting it past the 'To Do' stage.

 

Screenshot 2020-05-29 at 9.24.52 AM.png

thanks again for your help.

John Funk
Community Champion
May 29, 2020

Maybe try putting a Re-fetch issue data component between each transition. 

Or modify your workflow to go from Backlog to Code Review and place a Condition on it if the issuetype = Code Review.

Then you would be able to move straight to Code Review status. 

Suggest an answer

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

Atlassian Community Events