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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,984 views 19 22
Read article

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