Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Identify Parent-Child-entities with different FixVersion

Numb007
Contributor
September 17, 2020

Hi community, 

I want to build a query to find all Epics, which has a Story which hasn't the same fixVersion like the parent Epic. 

So I build something like: 

issuetype = Epic AND fixVersion = xyz AND issueFunction in epicsOf("issuetype = story and fixversion not in (xyz)")

But now I pre-filtered already to fixVersion = xyz. And have to add all combinations in future, in case a new fixVersion is created. My target is to have a filter which I don't have to change everytime. 

So I look for a query like: 

issuetype = Epic AND issueFunction in epicsOf("issuetype = story and fixversion story != fix version epic")

Is this possible? 

Kind regards,

Jan

1 answer

0 votes
Manisha Kode March 7, 2022

issuetype = Epic AND fixVersion in unreleasedVersions() AND issueFunction in epicsOf("issuetype = story and fixversion not in unreleasedVersions()") ORDER BY Rank ASC

 

try this - hope this helps you

Suggest an answer

Log in or Sign up to answer