I'm attempting to pull data from a Jira ticket body and add it as a comment. There is a lot of information in the body of the ticket that is non important, so I'm using regex to pull the important info out and add a comment for my team. I've tested the regex to make sure they capture the right information so the regex works (outside of Jira).
Then I use
{{issue.description.match([\s\S]*?(?=Recommendation))}} in an attempt to create a smart value.

Now am I doing this wrong? Do I need to so something to pull that information BEFORE i attempt to create the variable. Any help would be amazing as I am stuck at this point because the info in these tickets to change so i cannot hard code anything.