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 -

Hi Tony,

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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

691 views 6 13
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