Hi All,
I'm trying to find a specific comment that has a number in the comment text. I have used the below, and it works fine, but the problem it retrieves all the matching text comments, what I want is to only retrieve the 1st found comment matching the string by date/time, for example.
24 Jul 2023 10:30 AM - Your request number is 1234
24 Jul 2023 11:30 AM - Your request number is 5678
The below command shows both numbers, 1234 and 5678, while what I want is to only get 1234, how can I achieve this, and store it in a variable and use it elsewhere ?!
{{issue.comment.body.text.substringBetween("Your request (",") has been received and is being reviewed by our support staff.")}}