Link Commented Issue without duplicates

Dustin Graham April 11, 2023

I have some automation that triggers on all comments, and searches for KEY-00000 then links the issue. However, this can cause duplicate links. How can I avoid linking the issue more than once? (But still link if a different issue is mentioned?)

Also, is there a way to "dump" the automation so I can paste it here?

 

1 answer

1 accepted

0 votes
Answer accepted
Dustin Graham April 27, 2023

Found within the "If/Else" there is a "Condition" for Related issues, where you can set the Related Issues-> Condition -> None match JQL key = target ticket ID and issueLink = current ticket ID to validate the link doesn't exist.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events