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!
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.
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>")));
...
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.