Forums

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

Create filter to list all Stories in a Release and linked test issues only

Jon ODowd
July 17, 2019

I'm trying to create a filter to list all stories by Project, Release and Linked Test Issues.  I can see all the issues that are "relates to" but want to restrict it to just the linked issues that are of type Test.

1 answer

0 votes
Inactive Stephen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 17, 2019

Hi @Jon ODowd

In Jira 8 there is a new function - issueLinkType where you can search for issues of a specific link type. You could try...

issuetype = Test and issueLinkType in ("relates to")

...which would give you a list of Tests which are related to issues within your platform. You could limit which projects by adding additional search criteria (eg. project = XXX).

An alternative is to look for Tests within a single story - such as...

issue in linkedIssues("Story-XXX") and issueLinkType in ("relates to") and issuetype = Test

^ This gives you Tests which are related to each Story. For a select set of stories, you could search for each singularly using the linkedIssues component.

I cannot see a method in standard JQL to search for a set of Tests which are siblings of a set of stories - i.e a query within a query. It's possible with add-ons (such as Scriptrunner) - where you can set specific parameters around what is displayed from within linked issues - are you using an add-on like this?

Ste

Jon ODowd
July 18, 2019

Thanks @Inactive Stephen  - my company is not up to Jira 8 yet, we're at v7.13.1.  Looking for options.

Inactive Stephen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 18, 2019

Hi @Jon ODowd

In Jira 7 you're likely looking at a marketplace add-on to do it in JQL - does your team have any JQL extenders - for example ScriptRunner, which would be able to do this?

Ste

Suggest an answer

Log in or Sign up to answer