Hi,
I am trying to search for the following and needing some help.
We have ScriptRunner installed, which is helpful to find the subtasks, but it does not include the parent when using the available. Below is the query that scrip runner is running.
issueFunction in subtasksOf("project = "XXXX" AND issuetype in standardIssueTypes() and status not in (Cancelled, Backlog, grooming)")
How can I get parent stories to be included in the results?
Thanks in advance for your help.
You'll need to append a search for the stories also - so for example:
issueFunction in subtasksOf("project = "XXXX" AND issuetype in standardIssueTypes() and status not in (Cancelled, Backlog, grooming)") or project = "XXXX" AND issuetype in standardIssueTypes() and status not in (Cancelled, Backlog, grooming)
An alternative is to search for the stories first - for example:
project = "XXXX" and status not in (Cancelled, Backlog, Grooming) and issuefunction in hasSubtasks() or issueFunction in subtasksOf("project = "XXXX" and status not in (Cancelled, Backlog, Grooming) and issuefunction in hasSubtasks()
^ Assuming sub-tasks are under stories, something like this should also work :)
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.