Forums

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

How can one query Issues linked to other issues within a project?

Rui Rodrigues March 22, 2021

Hi community,

Taking the following JIRA structure:

Project RPPR
Issue A
Issue Links => Relates To
Issue A1
Issue A2

Issue B
Issue Links => Relates To
Issue B1
Issue B2

How can I retrieve all the related to issues inside A, B or any other parent Issue inside Project RPPR ?

Thank You in advance,

Rui Rodrigues 

 

 

1 answer

0 votes
Trudy Claspill
Community Champion
March 22, 2021

Hello @Rui Rodrigues 

You can use the linkedIssues() function in JQL. Refer to this document for details on advanced JQL querying.

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

Rui Rodrigues March 22, 2021

So in pseudo-JIRA(!), how can I pass "Issues of Project RPPR" inside linkedIssues() , so the query can be read as 

issues in linkedIssues("Issues of Project RPPR")
Trudy Claspill
Community Champion
March 22, 2021

Using nested filters is not an option that is available in JIRA Cloud. See

https://jira.atlassian.com/browse/JRACLOUD-18918

There are apps that you can add to JIRA that will give you that functionality.

If you go to the Marketplace and search for "jira subquery" that will bring up a few options. I cannot attest to the compatibility of any of the apps with JIRA Cloud, nor to their usefulness.

Rui Rodrigues March 22, 2021

Do you know if such an add-on will work via REST, against JIRA search end point?

Thank you Trudy.

Trudy Claspill
Community Champion
March 22, 2021

I do not know. I have not had to use the REST API much and never for such a use case.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events