Forums

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

how to capture the specif text from Email body / Description to Custom field using Jira automation

Kishor Mudhili
Contributor
May 3, 2024

how to capture the specif text from Email (Descrption to Custom field using Jira automation

 

example: 

Weekly check completed with faults:

Room: STA Meeting Room
Location: Stallingborough

 

from the above Email (Description) i want to capture Room Information (example: STA Meeting Room) and should be updated in Jira Custom Field (Room), using Jira Autoamtion rules. please help me

 

i have tried with automation rules but not working. i have checked few articals but not working for me. 

 

Capture.PNG

 

2 answers

0 votes
John Funk
Community Champion
May 5, 2024

Hi Kishor,

Can you share a screenshot of the audit log for when it runs and what your log action shows?

0 votes
Patrick Tripodi
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.
May 4, 2024

Hi Kishor, 

You can try the following. {{Issue.description.substringBetween("Room: ", "Location: ")}}

This will retrieve STA Meeting Room. You can also add .trim to remove trailing white spaces so {{Issue.description.substringBetween("Room: ", "Location: ").trim}}

Cheers,

Patrick Tripodi
GLiNTECH

Suggest an answer

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

Atlassian Community Events