Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can i get stories with their subtask where I can group by stories

I have looking for a query that will retrieve stories or task and its corresponding subtasks.

If i query only all subtask there is no coloumn showing its parent or story 

3 answers

1 vote

Hi @madhuri 

Try filtering the parents and add a column called Sub-Tasks.


0 votes
Elifcan Cakmak Community Leader Sep 10, 2019


If you are using script runner plugin, you can use this jql function:

issueFunction in hasSubtasks()

 You can combine it with an "And" like:

issueFunction in hasSubtasks() and issuetype = Story



0 votes
Warren Community Leader Sep 10, 2019

Hi @madhuri 

If you show the Summary column, then the parent is shown as below - 8112 is the parent for all three subtasks



Is this what you're after?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,349 views 22 31
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you