Jira Search: Search can't drill down past the main Issue to sub tasks

Hi, wondering if anyone can please help. I have a user that wants to use Jira for reporting on projects, so basically we have 8 projects at the highest level, below them then are other projects that are of issue type 'key initative', the below that are the subtask. The PM wants to be able to do a serch inside a project for a specific key initative and list the sub-task...i wrote this search thinking it would work

project = "<name of project>" AND issuekey = <issue key that is associated with key initative> AND issuetype = Sub-task

but no results are found

if i search for project = "<name of project>" AND issuekey = <issue key that is associated with key initative> it does find the key initiative(issue) but i can't find a search that drills down

There is a specific label against the Key Initiative and sub tasks and if i search for

project = "<name of project>" AND issuekey = <issue key that is associated with key initative> AND labels = EAADR then it just find the Key Initative again and can't drill down and find more.

any ideas?

1 answer

1 accepted

This widget could not be displayed.

Jennifer

You can use the field parent = "issue key that is associated with key initative" to find all the sub tasks.

Best regards

Peter

you can use an OR in your queries, so just do a query for the main task (on issuekey) and combine it with the query for the sub tasks.

Like this : (query key initative) OR (query subtasks)

That should work.

thanks so much peter, that worked. is there a way i can list the key initative and the subtasks all in one search?

Hi Peter, thanks for your help with this. I am just learning how to do the advance search. Is there a limit as to how long the code can be...as in i want to identfy the project ad sub tasks but then want to see what issues within that are in specific status, backlog and To-do, do i section them off with () or what way do i write it? any help would be really appreciated...

Hi Jennifer, your search query can be as long as you want, but keep in mind that it might impact the performance of your search.

Some extra information about JQL (Jira Query language) can be found here : https://confluence.atlassian.com/display/JIRA/Advanced+Searching

And here :

https://blogs.atlassian.com/2013/01/jql-the-most-flexible-way-to-search-jira-14/

I hope this helps.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 7 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

13 views 0 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you