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

Your Points Tracker
Challenges
Leaderboard
  • 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
Recognition
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?
Kudos
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

JQuery for subtasks

I would like to do a JQuery for all subtasks against a story, however I get no results returning.   I am using a Next-gen Project.  Query contains: Project, Sprint, Parent Story.  

1 answer

Hi @Nicole Stevens

JQL for sub-tasks works the same in Next-Gen as Classic.

You can search for all sub-tasks in one story using this query:

parent = STORY-1

^ This will return all the sub-tasks which exist under a story.

Or you can use:

linkedIssue = STORY-1

^ This will return all sub-tasks and the story itself. You can change STORY-1 to EPIC-1 to return all stories / sub-tasks in an Epic.

--------------

If you're searching by just one story, there should be no need for sprint or project.

If however you have a more complex query - such as providing all the sub-tasks below all stories in a specific sprint, you'd need to either search for each story individually...

parent = STORY-1 or parent = STORY-2 or parent = STORY-3

...or use an app which expands the power of JQL, to allow you to search for all sub-tasks below issues which match an additional sub-query.

Let us know if any of these work for you - or if you need a more advanced query, let me know the specifics and I'll try to suggest an alternative :)

Ste

@Stephen Wright _Elabor8_ I'm trying to pull all sub-tasks in an epic, but don't have  linkedIssue as an option.  Is there another way to do this?  I tried using parent = epic#, but that doesn't return any records.

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Team-managed projects

4 steps to get actual statuses on the Jira board.

Jira   is a powerful tool   that helps teams to plan, manage, and report on their work.   We love using Jira, especially for its ability to track issue progress. But how to monitor the...

1,208 views 10 14
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