/
Create Issue/Comment via Email

Create Issue/Comment via Email

Issue/comment creation

The following points describe how JIRA processes each incoming email message and determines how its content gets added as either a comment to an existing issue or a new issue altogether.

  • The subject  of an email message is examined for an existing issue key:

    • If an issue key is found in the subject, the content of the email message's body is processed and added as a comment to the issue with that issue key.

    • If an issue key is NOT found in the subject, the in-reply-to header  is examined:

      • If the email message is found to be a reply to another email message from which an issue was previously created, the body is processed and added as a comment to that issue.

      • If the email message is NOT found to be a reply, a new issue is created.

For example, an email message to a mail account foo@example-co.com on a POP or IMAP mail server configured against a JIRA server will be processed as follows:

  • Issue Creation:

    • The subject of the email message will become the issue summary.

    • (warning) Since all issues require a summary, each email message intended for issue creation should include a subject.

    • The body of the email message will be the issue description.

    • A bug will be created for project 'JRA' with the above information. (This is essentially based on the mail handler configuration above).

    • Any attachments to the email message will become attachments to the issue (assuming attachments have been enabled in JIRA).

    • (info) To ensure compatibility with various operating systems, any of the following characters in the filename will be replaced with an underscore character: \, /, ", %, :, $, ?, *, <, |, >.

    • If the incoming email is set to a high priority, the corresponding issue will be created with a higher priority than the default priority that is set in your JIRA system.

  • Comment Creation:

    • The body of the email will become a comment on the issue.

    • Any attachments to the email will become attachments to the issue (assuming attachments  have been enabled in JIRA).

 

Refer to this for a more detailed guide and email formatting:

https://confluence.atlassian.com/adminjiracloud/creating-issues-and-comments-from-email-779288896.html#Creatingissuesandcommentsfromemail-Createanewissueoraddacommenttoanexistingissue

 

Filter by label

There are no items with the selected labels at this time.