Need help with this. I'm using regex in an automation to link issues mentioned in the description. The problem I'm having is that it is linking wrong issues on certain projects.
For instance:
IM-5 will link an issue from another project IMXXXX-5
Is there a way to prevent this from happening?
Here's the regex that I am using. (sorry...can't provide screenshots)
WHEN: value changes for: Description
IF: Compare two values: Check if {{issue.description}} contains regex ([A-Z][A-Z0-9]+-\d+)
THEN: Link issue to: {{issue.description.match("([A-Z][A-Z0-9]+-\d+)").distinct}}