Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Auto-assign users in round robin fashion from two separate lists (time-based) with scriptrunner Edited

I'm looking to load balance the assignment of issues in a project based on the 'working hours' of team members located in two different regions (US and EU). I also want to evenly auto-assign created issues in round-robin in accordance to the ordered list of users per region. The auto-assignment should be time-based, where:

  • issues created between 4AM-4PM UTC are assigned in rotation from EU region
  • issues created between 4PM-4AM UTC are assigned in rotation from US region

The list order of users per region is as follows:

  • EU: Liz H -> Gamul D -> Zubair S -> Caitriona K -> Ronan R -> Lior R
  • US: Vincent L. -> Chris D. -> Ian B -> Jennifer L. -> John M. -> Frank G.

I've already tackled a problem like this in an earlier post, where I auto assign users in the "Workers" role in round robin fashion. But in this case, I want to alternate between two user lists purely based on the time of day. What would be the best way to do this referencing the Round Robin Assign Issue to Users in a Certain Project Role script from adaptavist library?

1 answer

Hi @Ian Balas 

You can do this with Automation for Jira, if you have that add-on installed for server version. If not, there is a Lite (free) version and a Pro (paid) version to try.

Please see this post for some ideas how to do this:

Best regards,


Hi @Bill Sheboy ,

Thanks for the suggestion. We may consider Automation for Jira as we inch closer to moving to Cloud near the end of the FY, but for now we're looking for a solution with Scriptrunner. As I mentioned, in a previous post I was able to edit the round robin script from Adaptavist Library to better suit a use case by one of the projects in our instance, scanning for an unassigned issue and assigning to a user that's part of a rotation of users with the Workers project role (ordered by last name desc). But now I want to take the same script and tweak it so that it'll auto-assign to users in two different roles (EU and US), where the EU users get assigned in rotation from 4AM-4PM, and US users get assigned from 4PM-4AM.

Thanks for clarifying, Ian.  I am not using server version or ScriptRunner, so someone else in the community will need to chime in to help.


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you