I am trying to create an automation that stores an issue key found within a comment. Currently I have the following:
ABC-{{comment.body.match("ABC-(\\d{1,6})")}}
Not sure why, but it sends the code twice e.g ABC-1234, 1234
It seems like it is writing down the same match twice (it is from a link so not sure if that affects).
Is there a way to prevent this so that I have ABC-1234 only? Thanks