We receive an issue via an email from a customer with their reference in the summary field that I want to extract and populate into a custom field automatically.
Summary title:
REQUT0000504781 - 20180815- Incident Report A0007
From the above summary field I would like to extract 504781 and populate another custom field with this number only.
Using the automation pro plugin I have done the followlling:
When: Issue created
IF: Issue matches JQL
summary ~ "REQUT00*"
Then Edit Issue Fields
{{issue.summary(?=REQUT0000(\d*))}}
The "Then" statement above is incorrect however it looks ok within an expression builder from https://regex101.com/
Can anyone offer any further advice / help on this please?