Hi, I want to set external ticket number to customfield by searching it in issue's comments
I have smartvalue code like: {{#issue.comments}}{{body.match(".*Ticket number: \s*(.*)")}}{{/}}
but this give me result like :

Problem is that the number is repeated three times, because it is in three comments.
How to I get only first match in smartvalue?
i try:
{{#issue.comments}}{{body.match(".*Ticket number: \s*(.*)").get(0)}}{{/}}
but it doesn't work