Auto Assign to a user based on the Reporters Group/Role.

Hi there,

Is it possible to auto assign an issue after creation, as a post function to another user, based on the User Group or Role of the reporter?

For example, if Tester A creates an issue, can it automatically be assigned to Project Lead A. And if Tester B and C create an issue, can it be assigned to Project Lead B?

5 answers

A groovy script or a plugin would be required to do this.

I'm not going to post this as an answer as I'm not sure it would work - but maybe the JIRA Misc Workflow Extentions plugin would do the trick? There's a post function "Set field value from User Property value - you could set up a property like "associated developer" or something, and enter the values to the tester accounts (so tester A would have Project Lead A as the value of that property).

I'm not sure, though, if it will treat the value of the field as an actual user or if it will just try to copy the value as plain text when it is put into the Assignee field. It could also mean a lot of set up time if you have a lot of users to set the property value for...I'm sure someone else will answer with some nice code but if not, this *might* be a possible way to do it.

Hi Nat,

Your idea is actually very good and in theory does work if your only on One Project at a time. Sadly, it's not that practical across multiple projects. Thanks for the effort though, it was a strong suggestion.

Yeah, it's not a very convenient way of doing it, sorry, haha. Hope someone else can come up with a nice clean solution for you (like I said before, probably some kind of coding you could do with groovy)! :)

Chris, if you were able to figure out how to assign issues based on reporter's group membership, could you share?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

200 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you