Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,325,374
Community Members
 
Community Events
168
Community Groups

Could you automate code reviews

My team needs an automated code review process.The code review process involves two rounds, and I would like to automate sends to either our frontend or backend developers.As an example, a ticket would be assigned to Frontend group A when it gets moved from the In Progress column to the First Code Review column. Following the first code review, the ticket gets assigned automatically to group B of frontend developers and moves into the 'second code review' column.

Backend tickets are handled the same way.
Do you think this is possible? Backend developers are assigned tickets time and time again. The current setup is as follows:
The status of this issue has been changed from IN PROGRESS to CODE REVIEW

This issue will be assigned via Round Robin To (a list of users of Group A developers)
The issue data needs to be re-fetched


Block if:
Comparing [[issue.assignee.name]] with [[issue.reporter.name]] in advanced mode
Developers in Group A are the Users Condition Assignees
Round Robin To (an email list of Group A developers) assigns this issue to 'A User Defined List'

1 comment

John Funk Community Leader Oct 14, 2021

Hi Eliot - Welcome to the Atlassian Community!

Let's take these one at a time. And first - you will not be able to assign an issue to a Group - only to an individual. But you can assign the issue to an individual based on a round-round or random or a balanced work load. We will proceed assuming you want to do one of those. 

So you would create an Automation rule based on a trigger for Issue transitioned with the parameters of from In Progress to First Code Review. 

Then you would add a new Action for Assign Issue. Configure like the image below. 

screenshot1.png

Then you would create another rule to do the same thing for the transition to Second Code Review status. 

If you are not familiar with Automation, you can get started with this:

There are two types of automation:

  • Global: In the Free version, you get 100 executions per product, per month
  • Project: In all versions, you get unlimited executions per month

Automation Basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation

You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, go to Jira Settings > System > Automation Rules (left-hand menu).

For more on using Automation For Jira see these help pages.

Jira Automation Template Library to help get you started quickly:

https://www.atlassian.com/software/jira/automation-template-library#/labels/all/customLabelId/1453

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

2,593 views 6 23
Read article

Atlassian Community Events