Hello everyone,
On JIRA service desk how can I get a date from ticket summary with format DD/MM/YYYY, have any one did this before?Have tried with Summary contains and Issue fiedls condition steps, but nothing:
From audit logs:
Because you are using regex you cannot use the Issue field condition, instead you would have to use {{smart values}} condition and the contains regular expression like this:
Also note that your regex has to look like this:
\d{2}\/\d{2}\/\d{4}
Ah ok, worked, thank you!By any chance, with "Edit Issue" action, what expression should be used with {{issue.summary}} to get that match?HAve tried with {{issue.summary.match('\d{2}\/\d{2}\/\d{4}')}} but no luck.
Do you have a good documentation source from where I could use as reference just for this level of JIRA automations?
You can't use regex with Edit issue, instead you would have to use substringAfter() like this:
{{issue.summary.substringAfter(" - ")}}
This assume that the format for the summary is always the same.
Have changed the date to duedate format, and it worked but there was no changes made/applied on the ticket that triggered the automation, do you know what could be?
It looks like you're new here. Sign in or register to get started.