Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I automatically link tickets that has the same field-value?

Justine January 3, 2023

Whenever there is a new ticket, I want to automatically link it to tickets that has same field-value if that new ticket contains a similar field-value.

1 answer

1 accepted

0 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 3, 2023 edited

Hi @Justine - You could do something like this:

  • TRIGGER: Issue Created
  • BRANCH: JQL
    • YourCustomField = {{issue.YourCustomField}} AND key != {{issue}}
    • ACTION: Link Issue to your trigger issue
Justine January 9, 2023

thanks man!

Like • Mark Segall likes this
Andrew Lee January 11, 2024

Hi,

 

Any ideas why this would won't work for my automation via Jira Cloud

 

Screenshot 2024-01-11 at 15.49.08.png

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2024

Hi @Andrew Lee and welcome to the community!

Your branch is staying on the current issue but needs to instead branch into the desired issue(s).  You'll want to change the branch to use JQL.  Ultimately, the rule should look like this:

  • TRIGGER: Issue Created
  • BRANCH (JQL)
    • cf[xxxxx] = {{issue.customfield_xxxxx}} AND Key != {{issue.key}}
    • ACTION: Link Issue to Trigger Issue

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events