Forums

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

How can I query for issues that have linked issues with a specific state which again have linked one

ifmsra
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!
March 4, 2021

I am trying to get all issues that have linked issues of a defined type with a defined state which also have linked issues of a defined type with a defined state.

The first part was easy

get all issues that have linked issues of a defined type with a defined state

project = PName AND issuetype in (Requirement) AND status in (Approved) AND issueFunction in linkedIssuesOf("issuetype in (Epic)")

 

I now tried to add a subquery to the linkedIssuesOf() function to filter for linked stories which failed

project = PName AND issuetype in (Requirement) AND status = Approved AND issueFunction in linkedIssuesOf("issuetype in (Epic) AND issueFunction in linkedIssuesOf('issuetype in (Story)')")

 

0 answers

Suggest an answer

Log in or Sign up to answer