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

1 vote

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,308 views 14 20
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
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