Forums

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

Query for all Stories and their Sub-Tasks in a specific project

Gregory Kremer
Contributor
November 6, 2023

Hi Jira experts. I have a need to query for all Stories and Bugs, including all related sub-tasks in a specific project. I can use ScriptRunner to do so. Could someone please suggest a query for the Cloud version of Jira? I'd greatly appreciate it.

1 answer

1 accepted

1 vote
Answer accepted
Laurie Sciutti
Community Champion
November 6, 2023

Hi @Gregory Kremer ~ this should work (substituting for your projects, of course):

 

project in (A, B) AND issuetype in (Story, Bug) OR issueFunction in subtasksOf("project in (A, B) and issuetype in (Story, Bug)")
Gregory Kremer
Contributor
November 6, 2023

@Laurie Sciutti Thank you very much. It worked great.

Like Laurie Sciutti likes this
Gregory Kremer
Contributor
November 6, 2023

Thank you

Suggest an answer

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

Atlassian Community Events