The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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