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

Run rule only if issue doesn't have linked issues?


I need to use Jira Automation and run a rule, but only on issues that do not yet have "depends on" links.

I tried various combinations of the settings for Condition, and looked for some systematic documentation on this, to no avail.

Can the following (which doesn't work) be tweaked so as to only run the rules on issues that do not yet have any "depends on" link?


Or should something completely different be done?

Any help would be much appreciated (pointers to any kind of clear and systematic documentation, etc.)!

1 answer

1 accepted

0 votes
Answer accepted

Hi @lebigot 

You note that the condition "doesn't work".  What exactly is happening?  And, for a case where you expect the rule to work, please post an image of the audit log details.  Thanks!

Best regards,


Thanks for the followup.

The condition works as if it didn't exist.

The Audit indeed reads:

Related issue condition:

The following issues passed:


The goal is that issues with linked issues should instead block (so that I don't create new linked issues).

I have had limited success for such tests with the related issues condition unless I explicitly stated the JQL.  

So you could try that with related issues, or use LookupIssues with JQL and check the return count greater than zero.  The JQL would be something like:

project = myProject
AND (issueLinkType NOT IN ("depends on")
OR issueLinkType IS EMPTY)
Like lebigot likes this

This works much better than the built-in filter indeed. Thanks!

Side note: issueLinkType IS EMPTY is not accepted by my version and more generally doesn't seem to really work (,

Like Bill Sheboy likes this

Suggest an answer

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

📅 Partner Webinar & Events Opportunities: July 2022

Hi community 👋, Here is another monthly roundup of the partner-organized events in July 2022. If there is any event missing please let me know in the comments below 🙏 If you're looking for Atla...

29 views 0 2
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