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 TeamHello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
0 comments