Reputation: 23
It doesn't matter what values the fields have. I am interested in the fact of the existence of a subtask inside.
Upvotes: 2
Views: 2228
Reputation: 71
You could try the following JQL:
issueFunction in hasSubtasks()
it filters for such issues which satisfy condition hasSubtasks() which is a function for identifying issues with subtasks (but not other types of links).
Upvotes: 1
Reputation: 23
It seems there are no special operators in JQL for such cases but I've found the solution:
using obviously non-existent task names in combination with issueFunction in parentsOf()
like this issueFunction in parentsOf("issue != BLABLA-100")
It works! And if you wanna get issues without subtasks you can put NOT before the request described above
Upvotes: 0