You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
This workaround is meant to help projects where from an email request it is necessary to get the information from the description field and throw it in specific Jira fields, thus not needing to add them manually and gaining extra time on the daily routine.
For a such scenario, I used Automation For Jira(A4J) with some Jira custom fields. Also, I used as an example a Email request related to an HR - New Hire, where a user will send via email the new hire information based on a list (here you will need system automation to always load the same default list to be filled in your browser email - this process can be done with iCIMS or other tools automation in your system). This method can be used for other purposes (eg. email request containing a shopping list).
Important related documentation:
Smart values - text
Text functions
Regular expressions
So I was able to get the information by rows in the Description field and throw that information into Jira's fields.
The icing on the cake here is to use this match() expression with Regular expressions in A4J.
Using this smart value below:
{{issue.description.match("XXXXXXX\s(.*)")}}
You will be able to get the row info after this delimitation text that you chose. The automation rule will work as in the screen recording below:
Note: in the e-mail format it must be without any formatting, otherwise, it will copy the expressions of color, letter format, etc, as shown in the screenshot below:
Bruno Altenhofen
Atlassian Team
0 comments