I'm currently pulling information from the description field using REGEX due to it being an email request. My goal is to populate the fields from my REGEX pulls.
I'm having trouble getting the "Start Date" date picker field to update with my code.
The description displays it as:
Start Date: 7/11/2023
My Automation is
If: matches
First Value: {{issue.description}}
Condition: Contains Regular Expression
Regular Expression: (?<=Start Date:)(\W\d+\\\d+\\\d+)
Then: Edit Issue Fields
Field to Set: Start Date
and this is my smart value:
{{issue.description.match(".*(?<=Start Date:(\W\d+\\\d+\\\d+).toDate("m/dd/yyyy").*”)}}
I know it's wrong, I just don't know where or how to correct. If you have any idea please let me know
)