Creating issues from email by setting fields in the email body

I am using JIRA OnDemand and have successfully set up issue creation from email following these instructions:

https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email

 

I have only one more wish: I want do specify the "issue type", "priority" and "epic" within the body of the email! E.g. by using special keywords such as

<email-body>

PRIORITY: Minor

ISSUE TYPE: Bug

At the moment it is possible to ...

</email-body>

How can I do this with a JIRA OnDemand instance?

Thank you very much for your suggestions!

3 answers

This widget could not be displayed.

The standard mail handlers cannot do that, you need to use a handler that can process that information.

The only way to do this with Cloud JIRA is to enable the JEMH addon.

This widget could not be displayed.

Thanks for the quick reply!

To avoid using JEMH: Can I probably configure several email addresses with my JIRA OnDemand instance? I'm thinking of introducing a jira-bug@...atlassian.net and jira-story@...atlassian.net in addition to jira@...atlassian.net and to configure different mail handlers for those.

Do you think this will work?

 

Mmm, partly, you'll get the project/issue-type split and priority will still be taken from the priority field on the email header. But I don't know if you can use multiple email addresses in OnDemand (I'm pretty sure you can, but don't have one to play with at the moment)

Thanks! I just tried to use multiple email addresses in OnDemand, but couldn't make it work. If anybody know how it works or whether it does not work, please let me know...

This widget could not be displayed.

Hi, we encountered the same problem.
The solution we found was to create a post-function at the create transition that runs a SIL program.

The program parses the description and then set the values, for example:


string projet = key;

if (%projet%.issueType == "My Issue Type") {

if (matchStart(%projet%.description, "<conditionalTag>") > 0) {
%projet%.reporter = trim(substring(%projet%.description, matchEnd(%projet%.description, "<Reporter>"), matchStart(%projet%.description, "</Reporter>")));
...
}
}

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

578 views 25 15
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