Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Find specific sub-tasks of a task linked to a story

I have a story with a status of done. To that story I have a linked task. That task has sub-tasks. I want to pull all of the sub-tasks that are 'to do' or 'in progress' belonging to the Task (with a specific summary detail) associated to the story that is Done. See the picture below:


Story to LinkedTaks to SubTask of LinkedTask.png

2 answers

0 votes

Hi @Raymond Touchette 

Can I confirm:

  • Is this Jira Cloud or Server?
  • How do you want to pull the data - eg. API, JQL, etc?
  • If JQL, do you have any apps which extend JQL?


Hi, We should have CLoud and ScriptRunner... Want to pull the data via JQL.. Thank you!

Hi @Raymond Touchette  

Welcome to the community, I see here 2 options 

First : You can try to create a filter inside a filter like here

Second : I recommend to use JQL Search Extensions. It's a professional paid indexing service provided by a company I've partnered with.

You can use the following query to finds the list of subtasks of resulting parent issues and for more reference

issue in subtasksOfParentsInQuery("status='Done'") AND linkedIssueType = Story 

Thanks in Advance
Mohamed Adel 

Thank you for your response! Not always able to get on-line. I am not following the suggestion.

The story has a linked Jira Type Task - that Task has sub-tasks... Attempting to find a specific sub-task with a specific state of the task linked to a specific story.

The story has sub-tasks that are complete and the story is complete...but the linked Jira Type Task has sub-tasks that may/or may not be complete...

Any help on the actual query to perform the steps getting to the results describe in the initial post - most appreciated!

I Actually got it!.. I am very new to JIRA and JQL - but I did manage to figured it out.

get criteria of sub-task of Task And IssueFunction in subtasksOf(Type = Task AND issueFunction IN LinkedIssuesOf(type = Story AND remaining filter)....

Of course this is the abbreviated function to address the various parameters are not completely represented.

It is thinking about the Grandchild to Child to Parent from a function perspective.

Thank you!!!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Cloud Migration

Cloud migration resources roundup: June 2021

...ustomers receive an estimated 155% ROI and total benefits/savings of $1.8M over three years! Check out the report and the rest of our newest resources below, as well as our tried and true that m...

145 views 0 9
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