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

This widget could not be displayed.

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)

This widget could not be displayed.

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?

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

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

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

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