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
Community Members
Community Events
Community Groups

Automation for Jira: related issues condition does not work with cross-project links

I'm sorry for the many questions in these days but I may have found an unintended behavior of your Related issues condition.

I was investigating on why it was always executing an automation task even if I had programmed it to stop if there were issues of a specific type set up, and I discovered that this block always add a JQL condition to search for issue in the current project.

This may be usually correct, but if you add cross-project issue links it always filter them and you can't check for them.

I add two screens to show you better:


And if I inspect the JQL query I found:



where of course the project 10406 is the current one (and I'd like to search for issue links which point to another one).

I've also tried to use only the issue link presence, with the Are not present condition, but if the issue lays in another project it filters it out. Maybe a hidden condition of the project is added.

Any suggestions?

1 answer

1 accepted

1 vote
Answer accepted

Hi Alesandro,

In order to act on/check issues on other projects you need to make the rule a global rule. Otherwise this can result in permission escalation or information leakage. Are you able to convert this tule to a Global rule (Select "Global" in the project field in the rule details).

Does this work?

We are looking at introducing multi-project rules soon and this would be another option to get this to work.




Yes, it works! Thank you very much Nick.

I just need to add a condition rule to filter out triggers from other projects, but it's fine.

@Nick Menere , is there any update on adding multi project automation rules since it is now > 3 years after you said it would be coming "soon". This limitation is so crippling for many things I would like to do and I do not have privileges to make automation rules global.

Like ilia kassianenko likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

398 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you