S-JQL question: leaf

Hi. We've created a structure to pull in tickets and their sub-issues and want to identify the tickets that do not have any sub-issues. Looking at the cookbook, we should be able to use the "leaf" query in the Structure search type S-JQL but the structure is returning zero results (when visually you can see many).

We've done a full reindex and this has not fixed the issue. Are we using the leaf query incorrectly? If so, how can we do a search within the structure to return all issues that do not have any children?

Thanks for your help :)

5 answers

How many results do you see if you run the equivalent JQL search in the JIRA's Issue Navigator? The query would be

issue in structure('structure name', leaf)

Hi. That returns the results we need but shouldn't we also be able to do a leaf search in the S-JQL search in the structure? Or is the same full syntax needed in the S-JQL search in the structure?

Yes, you should be able to write just leaf in the structure's seach box and see the results; this is just to see if the problem is in the S-JQL search (it's not) or in some other place.

Yes, you should be able to write just leaf in the structure's seach box and see the results; my previous question was just to see if the problem is in the S-JQL search (it's not) or in some other place.

Could it be that you also turned on the 'Unresolved' filter and all of your leaf issues are resolved? In this case you should just click the button that reads 'Unresolved' to show the resolved issues back.

If it doesn't help, please open the browser console to see if there are any error messages (Ctrl+Shift+J in Chrome). If you see any error messages, please copy all the contents of the console and send to support@almworks.com for inspection.

Hi. Have confirmed that Unresolved filter is not turned on and leaf is still not returning results via the SJQL search in the structure. Have sent email to support@almworks.comwith the error messages.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

43 views 0 3
Read article

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