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,361,039
Community Members
 
Community Events
168
Community Groups

Automation: Assign multiple code reviewers

Edited

Hi there, I'm trying to set up an automated code review assignment.

The logic should work like this:

  • When the issue is transitioned
  • if it is of a certain type
  • then
    • select the first Approver via round robin from a pre-defined group who is not the current assignee
    • and assign the issue to the second approver (selected the same way), who is neither the first approver nor the current assignee.

Did that make clear what I'm trying to achieve?

I have created a custom field Approver to store the first approver but I cannot select a user the way I described to enter it there. The field is not listed in the Choose fields to set... selection for the Edit issue action.

Is this possible at all? Or have I followed the wrong approach?

I've looked into the advanced field editing but I don't have the feeling that I can accomplish much with that.

automation-review.jpg

1 answer

1 accepted

0 votes
Answer accepted

Hi Robert,

It might be simplest to assign reviewers using two separate automation rules - you can find an example of how to do this in this thread: https://community.atlassian.com/t5/Jira-Software-discussions/Could-you-automate-code-reviews/td-p/1832308

Cheers,

Charlie

Hey Charlie, although I'm quite late with that, thank you for your help!

Suggest an answer

Log in or Sign up to answer