Forums

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

Trigger automation rule only if 2 tickets are from different projects

Danilo Simic
Contributor
August 18, 2022

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
Mark Segall
Community Champion
August 18, 2022

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)?

Danilo Simic
Contributor
August 18, 2022

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.

Danilo Simic
Contributor
August 18, 2022

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

Like Mark Segall likes this
Mark Segall
Community Champion
August 18, 2022

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

0 votes
Sarah Noor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2022

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

 

Screenshot 2022-08-18 181837.png

Danilo Simic
Contributor
August 18, 2022

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events