Forums

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

Round Robin or Balanced workflow for assigning subtasks

Bobby Moyini
Contributor
October 3, 2024

I have created an automation that looks for subtasks named "Code Review" and assigns  a users based on balanced or round robin assignment (in my screenshot I have it set to round robin). I am running into an issue that the code review subtask sometimes gets assigned to the assignee of the parent jira (I need it to skip the assignee of the jira). 

Example automation.png

 

Is there a way to use round robin or balanced assignment on a subtask that can also SKIP the assignee of the parent jira on assignment of the subtask?

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
October 3, 2024

Hi @Bobby Moyini 

I believe that is possible for round-robin but not balanced assignment.  (Balanced would attempt to re-assign to the same person.)

The rule could make the assignment, check if it assigned to same person as the parent, and then re-assign.  Perhaps like this:

  • trigger: ...
  • action: create issue (a subtask for Code Review)
  • branch: to most recently created issue
    • action: assign issue, using round-robin and a list of users
    • action: re-fetch issue
    • smart value condition:
      • first value: {{issue.assignee.accountId}}
      • condition: equals
      • second value: {{issue.parent.assignee.accountId}}
    • action: assign issue, using round-robin and the same list of users
    • ...

 

Also, did you want to branch to all subtasks or only to the most-recently-created-issue?  I used the latter in my example.

 

Kind regards,
Bill

Bobby Moyini
Contributor
October 4, 2024

Most recently created would be the one, I will have to try this out and see how it works! Thanks!

Bobby Moyini
Contributor
October 4, 2024

@Bill Sheboy  thanks! This worked perfectly!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events