Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Read a e-mail and fill fields using API rest

Douglas Oliveira
Contributor
September 16, 2021

Hi!

 

I am triying to do the Jira read a e-mail and fill fields with the data in the body of e-mail, for exemple, in body of email always will have:

Name: ------

Email: ---------

Phone number: -------

Start date: -------

Due date: -------- 

I have this fields im my task and i want wich Jira fill the fields with this data.

In another ask, someone suggested me to use a rule wich read the description of the  task but the information would be redundat, but a friendy talked to me wich maybe i get it using a JSON in API rest, its possible? 

 

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2021

Hi @Douglas Oliveira 

You could use the built-in email handler features of Jira to create your issue.  Please review this documentation for more information:
https://support.atlassian.com/jira-cloud-administration/docs/create-issues-and-comments-from-email/

And also, if once the issue is created you need the information from the email (e.g. in the issue description) parsed further, please review the features of automation rules:
https://www.atlassian.com/software/jira/guides/expand-jira/automation

Kind regards,
Bill

Douglas Oliveira
Contributor
September 17, 2021

Hi @Bill Sheboy Thanks for the feedback!

 

I don't wanted to created a rule for read the descriptiom but in last case is a option.

I saw the documentation :

https://support.atlassian.com/jira-cloud-administration/docs/create-issues-and-comments-from-email/

But dont find anything, similar how to converter the body of email in fields. 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2021

Douglas, I do not believe the built-in email handlers are very sophisticated in splitting/mapping data.  This is why I suggested an automation rule also.

Other alternatives are to build your own email handler or to investigate the ones available for purchase in the Atlassian marketplace: 
https://marketplace.atlassian.com/search?hosting=cloud&product=jira&query=email

Like Douglas Oliveira likes this
Douglas Oliveira
Contributor
September 17, 2021

 

@Bill Sheboy ,I will try build a email handler, or other integrations, i already use another apps, but if i dont get it, i will use a rule for recognize the description  

thanks for your helpfulness.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events