Example of email format to create Jira issue via email

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 vote

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 Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

366 views 6 8
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot