Is there a way to add a improve the the linking issue automation to avoid linking again if the issue has already been linked?
I tried adding a Related Issues condition, but having trouble coming up with a JQL query/smart value combination that would work.
Basically, if an issue is already a related issue (doesn't matter what type of link), and someone references it again in a comment/description, I don't want to added another link to it.
This is what I have, and does not work.
Hi @Henry Yei
How about this approach...
project = myProject AND issue IN linkedIssues({{var}}, "relates to")
Here is the documentation on Create Variable:
https://support.atlassian.com/jira-software-cloud/docs/automation-actions/
And here is an example of using it within a nested structure, such as a branch:
Best regards,
Bill
Thanks, that pointed me to the right direction!
After using Create Variable, the JQL below got me there.
If: No Linked issues match
Types: All link typesMatch: issue = {{issue.key}} AND issue IN linkedIssues({{issueToLink}})
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.