Reputation: 13
Situation : I want to create subtask for stories only if they dont have subtask
Status : I am able to loop and create subtask for stories now based on jql query
Question : How do i filter only userstories that have subtasks: [0] ?
Our Jira doesnt have the JQL function to filter on story without subtask so trying through the API or javascript
Upvotes: 1
Views: 356
Reputation: 1834
By default, you cannot do this search in common Jira. However, modern and well-maintained Jira instances usually have advanced searching add-ons installed:
issueFunction in hasSubtasks()
)issue in hasSubtasks()
)See also my similar answer.
Note: It also depends on whether you use on-premise Jira (Server/DC) or Cloud one.
Upvotes: 0