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

ayala nayman January 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
TAGS
AUG Leaders

Atlassian Community Events