Is it possible to extract certain strings from incoming mail handler email body

RedPS July 20, 2019

Since I know JIRA is taking the whole email body as issue description, I'm now trying another approach where the email message body is formatted in a form format like

Name : User Name ,

Field 1 : Field Data 1 ,

Field 2 : Field Data 2 ,

Issue Description : Description

My approach is now using JIRA Service Desk Automation :- image.png

My questions are :

 1) Since the issue description is now formatted, is it possible to use say, regex((([\w\s\d]+) (:) ([\w\s\d]+) (,))) to grab the data and remove the field name string, so the resulting string contain the field data?

2) Does it mean I have to do multiple branches for selector and option (dropdown) data? T.T

3) Any other approach that will take less time developing and configuring (even if it's an add-on) is welcomed?

I do know about Automation for JIRA add-on but i would like to fully use JIRA as much as possible w/o plugin (unless it is impossible and a plugin is the only way)

 

2 answers

0 votes
RedPS July 21, 2019

bump

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events