Hi Ofira,
JQL query to return sub tasks, you can write this"
parent in (ABC-1, ABC-2)
But that means you need to have the list of bugs, e.g. ABC-1, ABC-2
But if you don't have the list of bugs, you can do it by using the JQL functions provided by Script Runner plugin, then it will be a query like this:
project = ABC and issuetype = Bug or issueFunction in subtasksOf("project = ABC and issuetype = Bug")
You will get all bugs and their sub-tasks from this way.
project = ABC and issuetype = Bug -> return only bugs
issueFunction in subtasksOf("project = ABC and issuetype = Bug") -> return all sub-tasks of bugs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.