auto assign issue based on issue type

Jann Curtis August 4, 2015

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

4 answers

1 vote
Jonas Andersson
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.
August 5, 2015

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.

0 votes
Robert Dzido
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.
August 4, 2015

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

Alternatively you can try scripting with Script Runner.

0 votes
Jann Curtis August 4, 2015

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?

0 votes
GabrielleJ
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.
August 4, 2015

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.

Suggest an answer

Log in or Sign up to answer