How do I parse email into custom fields?

I have an external job system that emails jobs through to JIRA in the following format.

Created by: username
Reported by: username
Date logged: 10/22/2015 11:41:11 PM UTC
External Incident # 14734

Summary: text field
Details: large text field

I want to get JIRA to read the content of these emails and update custom fields in JIRA with the content above. Unfortunately I am not so good with coding custom handlers so I was wondering what other methods you would suggest to do this? I was hoping it could be done in workflow using the update custom fields, but there doesnt seem to be any way to read the email content. 

Thanks in advance!

2 answers

This widget could not be displayed.

You're going to need code, no matter what the approach.  If you don't do "parse body of email and set up emails" in the handler, you'll need something that will detect "issue created" and manipulate it later (I wouldn't try the workflow, I'd use a listener)

But, your best bet might simply be JEMH - this is one of the use cases it was written for - https://marketplace.atlassian.com/plugins/com.javahollic.jira.jemh-ui

This widget could not be displayed.

Hi Tony,

You can also check the JETI (JIRA E-mail This Issue) addon.

https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue

And you can find here a manual, so I think you can do it without coding deeply custom mail handlers.

http://www.meta-inf.hu/wiki/display/PLUG/Field+Contexts

Field Contexts contain Field Rules that:

  • Initialize issue fields when a new issue is created from email
  • Initialize issue fields when an existing issue is affected by the email

BR: Attila

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 Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

113 views 2 0
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