Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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:

2018020915_01_56.png

And if I inspect the JQL query I found:

2018020915_02_40.png

 

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.

 

Cheers,

Nick

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.

Suggest an answer

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

101 views 1 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