Forums

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

Show story with subtasks in JQL

Eric Roetenberg
Contributor
June 3, 2024

Hello

 

I have a JQL filter that shows all stories with a parent link xxxx and ZZZZ
But these story also have Subtasks how can I get them to show up in the filter too.

or is this not possible without ADDON

Grtz. Eric

1 answer

0 votes
Heenaben Sardarbhai Chaudhary June 4, 2024

Hi @Eric Roetenberg ,

issuetype = Story AND "Parent Link" in (xxxx, ZZZZ)

To include the subtasks of these stories in the same filter, you need to use the parent field in JQL. Unfortunately, JQL does not support subqueries directly, so you must manually combine the conditions for the stories and their subtasks.

Without Addons: Manually combine the queries by running the story query first and then including their subtasks.

With Addons (like ScriptRunner): Use advanced JQL functions provided by the addon to combine the queries dynamically.

Suggest an answer

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

Atlassian Community Events