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"

ayala nayman Jan 27, 2019

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.

 

now,

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 ?

Aya.

0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

scaling agile at the enterprise level with Valiantys

Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they can help ...

440 views 1 12
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