Jurgen Woen
Jurgen Woen

Reputation: 13

Filtering Jira API call based on Userstory not having subtask

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

Answers (1)

CraZ
CraZ

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:

See also my similar answer.

Note: It also depends on whether you use on-premise Jira (Server/DC) or Cloud one.

Upvotes: 0

Related Questions