The link is created only if the match is the first word in the comment.
I suspected white spaces issue so i changed the rule like that:
match = "\\s*([A-Z]+-[0-9]+)"
This time the match is found anywhere in the comment, the link is pointing to the right destination (due to the $1)
but the link title shows the whole match (not just the $1).
Meaning: it shows the match with all the white spaces that may come before it with one underline.
For example: BUG-123
I'm setting this configuration in the project level so according to the manual i should use link rule and not html.
Any insight will be appreciated.
Thanks,
Golan