Support wildcard in structure() S-JQL function
I would like a way to use a 'wildcard' in the structure() S-JQL function so that it searches all matching structures. Specifically, I am trying to solve the following problem: find all leaf nodes in any structure.
Here's a potential use-case: I want to have a task backlog implemented in Structure. I also want to be able to organize my tasks in a hierarchical manner, also using Structure. In my task backlog, I only want to track the 'leaf' tasks which appear in my hierarchical structure.
I know I can do this now using the structure() function, but I must provide a specific structure name. Requiring a structure name makes it difficult to write a general building block filter since the structure() function is always linked to a specific structure.
also tracked as https://jira.almworks.com/browse/HJ-1365
Chris, thanks for your suggestion. A feature request like that is also tracked as https://jira.almworks.com/browse/HJ-1365
The tricky part here is in the details, as usual. How should this query work for issues that match in structure A and don't match in structure B? For issues that match in structure A and are absent in structure B? What if some user creates a structure for himself, but for some reason shares it with everyone, and then places some issues such that they stop satisfying your query?
This is in our plan, but so far we don't see a good solution. We'll come back to it later, after Structure 3.0 is released.