Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,865
Community Members
 
Community Events
168
Community Groups

Trigger automation rule only if 2 tickets are from different projects

I would like to setup an automation rule that will have the following:

  • Trigger: When issues are linked
  • Condition: If tickets are from different projects (or one ticket (destination ticket) is not in a specific project)
  • Action: Edit field of destination ticket

How would I do this? I am a bit confused on how the "Brach" feature works, I suspect this might be the solution.

Thank you.

2 answers

1 accepted

3 votes
Answer accepted

Hi @Danilo Simic - You could use the Advanced Compare condition and do something like this:

{{issue.project}}
does not equal
{{destinationIssue.project}}

The tricky part is knowing which issue is which.  Will the source and destination always be the same (e.g. Project A is always blocks Project B)?

The idea is to not trigger the rule when both tickets are from the same specific project, for example if both tickets are from Project XYZ then the rule should not trigger.

I just tested this, it works. Thank you very much for the help.

Like Mark Segall likes this
Mark Segall Community Leader Aug 18, 2022

Just updated my previous comment as I realized I forgot the closing mustache.

0 votes

You can add in some conditions like this in the global automation rules.

 

Screenshot 2022-08-18 181837.png

Thank you for the help. I tried this, however it does not do what I need.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events