Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Example of email format to create Jira issue via email

Greg Hightshoe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2013

Our Jira instance is configured to be able to create Jira issues via email (https://confluence.atlassian.com/display/JIRA052/Creating+Issues+and+Comments+from+Email).

However, surprisingly I cannot find documentation or an example on the format of sending email with the mapping of parameters.

For example, if I wanted to create a bug, with priority 2, on Jira project MYPROJ I would expect to be able to set those via the subject line. Something like:

type=bug pri=2 project=MYPROJ

Can someone help me with where to find this documentation?

1 answer

0 votes
Nic Brough -Adaptavist-
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 22, 2013

You don't.

The email handlers work on a simple rule: Is there an existing Jira issue named in the subject? If yes, then the body of the email is a comment on that issue. If there is not, then the config of the handler has a project to create the issue in with description = body of email. That's it. (Ok, there's some handling of the body and stuff around users and email addresses, but there's no other routing or field processing)

If you want something more complex, you need to write your own handler, or find a plugin that will do it for you. Standard suggestion - look at the JEMH, it can process fields, multiple projects, clever assignees and much more.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events