Forums

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

How to search for closed linked issues?

Aleksandar Mechev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2020

Hi all

Use Case: Identify implemented Requirements

I have a pool of requirements captured in Jira which are liked to implementation stories using "is implemented by" links. 

I would like to filter out the requirements which have been implemented using the following rule:

find all Requirements that are linked to a "closed" issue using the "is implemented by" link

Is there a way one could implement this rule in JQL?

The closest I managed to come is to identify all requirements containing "is implemented by" links. However, it seems impossible to obtain any information about the attributes of the linked issue.

Many thanks!

Aleksandar

 

1 answer

1 accepted

0 votes
Answer accepted
Ste Wright
Community Champion
August 1, 2020

Hi @Aleksandar Mechev 

You're right that you can search for all issues in a specific link type - but if you want to add a sub-query against the issues they're linked from, you'll need an app which extends JQL functions to achieve this.

For example, ScriptRunner would allow you to do this using their function linkedIssuesOf - this might look like:

issueFunction in linkedIssuesOf("status = Closed", "is implemented by")

^ This allows for you to have a sub-query, so you can search for all issues linked from a closed issue within that link type.

Ste

Aleksandar Mechev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2020

Thanks Ste! I see now that we might need another extension. 

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events