Hello,
Is there a way to have an edit action to have an issue field = the regex results returned from the summary line of that issue? I already have the regex figured out, but I don't see an option that would work. I see "Set value" and "Copy from..." but the set value operator looks like it sets a static value.
Example of what i want:
When: issue is created
Then: Edit issue fields
Serial number = regexp(?<=Serial: ).*?(\w+)) of field summary
The summary line of the created issue would look like the following which is automatically emailed into our jira service desk:
Alert - Missing Syslog - Serial: 2874d7
Thank you.
Hi David,
It is indeed possible. You'll just need to use smart values here to achieve this. Your action should look something like this:
In my case, Field A is another field on the issue. I'm then using a smart value to perform the regex and set it to the result. You want to use the match function. There is more on smart values in our docs, https://docs.automationforjira.com/reference/smart-values.html#issue.
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.