Hey everyone,
I'm trying to create an automation that when a link to an external Jira issue is added to the comments, it pastes the link into a custom External URL field. I'm new to regex so to test it I'm just having Jira bot return a comment with the URL.
When I add the URL into a comment as a hyperlink, Jira bot returns the URL back twice. However, If I paste a non-hyperlinked URL into the comments, it works correctly.

I'm not exactly sure what I'm missing when I try to insert {{issue.comment.last.body.match("(https:\/\/jira.test.com\/browse\/ABC-\d+)")}} into the comment.

Any help is greatly appreciated.