Forums

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

Query Issues that are linked to issues with certain fixVersion

Nora Tombers April 17, 2020

Hello,

We are working with SAFe Portfolio and therefore have the two issuetypes "Portfolio" and "Epic" in our project. To link them we use the Issue Link function "relates to". Now I would like to query with JQL all Portfolios that are linked to Epics which have a certain fixVersion "XYZ"

 

I Have seen some people using issue in linkedissuesOF but this does not seem to work.

 

Does anyone have any suggestions?

Thank you

Nora

1 answer

1 vote
Jack Nolddor _Sweet Bananas_
Atlassian Partner
April 17, 2020

Hi Nora,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

1) Search 'Portfolio' issues linked to any Epics having a certain fixVersion "XYZ"

type = Portfolio AND issue IN linkedIssuesOf(' type = Epic AND fixVersion = XYZ ', 'relates to')

(*) Note that this is just an example, you must tune above query to fit your needs. e.g. Use issueFunction keyword instead of issue if you are using Script Runner

 

Using this app you can also query other issues relations, check:

 

References:

 

Hope this helps you to create awesome queries <3

Suggest an answer

Log in or Sign up to answer