We have tickets coming through to our Jira Service Management from another system that sends us a date value in plain text. I'd like to create an automation to scrape that value and set the due date of the ticket to that date.
So far in my automation I've created a variable called StartDate with the smart value of {{issue.description.match("Start Date:\s(.*)")}}.
In the description of the ticket I have
Start Date: 08/11/2022
For the purpose of debugging I have the automation add an internal comment to display the Smart Value which displays as 08/11/2022 which is correct but doesn't work when I try to update the Due Date to that.
In order to get that into the due date field I'm aware that I need to convert that Smart Value into an actual date that Jira understands but that is where I've got myself stuck, having tried to follow through instructions on https://confluence.atlassian.com/automation/working-with-dates-993924630.html to convert the text to a date the value is always blank and I don't know what I'm doing wrong.
Any help / guidance greatly appreciated!!
The add-on user will be automatically created when installing the add-on.
Can you mention other users? If not, please check if you have "Browse users" permission on Global permissions.
On new JIRA Cloud, 'atlassian-addons-project-access' role is automatically assigned to all permission schemes. See Add-on permissions update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.