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

script runner - issue links query can not filter for condition "project not in"

hello .

We have defined Issue linking called :Parent-Child Requirements

it has outward:"Parent Req" and Inward : "child Req".

and so we can link between "requirement" issue type in "requirements" project 

and all kinds of Epics that implement it , and the epics can be in many other projects in jira.



1 - I would like to create a filter that will give me all of the "requirement" Issue type , that I haven't linked with an EPIC .

so the query is :

issueFunction  not in hasLinkType("Parent-Child Requirements") and project = requirements.

2- if I want to search for all of the requirements that has Epics , but they that do not have an epic from a specific project - like "BI" I'm using following query with script runner :

issueFunction  not in linkedIssuesOf("type = epic and project not in (BI)", "parent Req")


but in the results I'm still getting some requirements that has both epics from BI and from other projects.

Only if the requirement has linked epics that are just from BI and not other projects - the results are accurate.

what am I missing here ?


0 answers

Suggest an answer

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

Join our Webinar: 5 use cases to supercharge Jira with apps

G’day Atlassian Community! We’re excited to announce that we’ll be doing a new webinar on 5 use cases to supercharge Jira Cloud. The Atlassian Marketplace offers customers thousands of apps and int...

130 views 1 4
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