Forums

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

I am looking for a JQL to list all stories and subtasks similar to parent and child relationship.

Nagendra Dattatreya November 13, 2019

I have a JIRA project that has a lot of stories and subtasks. I am looking for a way to report all stories and subtasks created between certain dates. I want the subtasks listed right below the parent story.

2 answers

0 votes
Marianne Miller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2019

This specific functionality requires a plug in - there are a few that do this.  However, You can use a JQL Query to display the sub-tasks, and order them by Summary, which will aggregate them by Issue and show you those relationships.  You can export this data set and manipulate it in excel as needed.

project = XXX AND issuetype in (Sub-task, Story) and createddate > 2019-01-01 and createdDate < 2019-12-31 ORDER BY summary ASC

Where XXX = your Project ID

update your created date after/before numbers as appropriate

Nagendra Dattatreya November 13, 2019

Order by Summary will just sort by summary and subtasks wont be listed under Story.

0 votes
M Amine
Community Champion
November 13, 2019

I think that the easiest way is to display subtasks in columns in the search issues view (see image below). 

So in you JQL you will search only tasks and for each task you can display all needed information + subtasks. 

Capture d’écran 2019-11-13 à 21.58.57.png

Nagendra Dattatreya November 13, 2019

I am using this JQL but subtasks are not displayed below the parent stories.

project = xxx AND issuetype in (Story, Sub-task, "Functional Bug") AND created >= 2018-12-18 

Suggest an answer

Log in or Sign up to answer