auto assign issue based on issue type

How can I automatically assign an issue created via email based on the issue type?

4 answers

Yes you can. When setting up the Incoming Email Mail Handler, you can set up several Mail Handlers that create different issuetypes. Part of the mail handler configuration is "Catch Email Address", which allows you to specify the From-email address for this particular Mail handler.

So no need to build workflows at all to do this.

If you can customize the workflow (https://confluence.atlassian.com/display/Cloud/Advanced+Workflow+Configuration), add the post-function "Assign to User" on the "Create" event of the issue.

Thanks Gabrielle, but that isn't quite what I need.

I can customize the workflow but I don't want to Assign to User. I am using an email to create issues automaticallly in JIRA from another system. The From address is determining the issue type that will be created one for stories and one for bugs. When that email is received in the system I want story issues assigned to the product manager and bugs assigned to the QA manager. 

In the Post functions I do not have "assign" to anything but "user" but the email is not coming from a user in Jira it is from a system email address. And that system cannot cc the product manager or the QA manager in the email that it sends to Jira. 

So I need a condition of "on create" and either specify a condition of "email from XX email address" or "when issue type=bug" then  assign to X. 

Any way to do that?

You can try Workflow PowerBox and its Condition Based Post function.

Alternatively you can try scripting with Script Runner.

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 Apr 17, 2018 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...

798 views 2 19
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