Hi there,
I have tried to get a report with the stories and their subtasks order by story.
I have used subtasksof() and parentsof(), with out correct results.
Any suggestions
Thanks in advance.
So the subtasksof() and parentsof() are actually functions provided by Adaptavist's Scriptunner plugin for Jira.
That said, if you have this plugin you should be able to return all the stories and their subtasks with a query like this:
issuetype=Story OR subtasksof(issuetype=Story)
This should return all Stories and all the subtask of those stories. The next question is "Do you need to sort this data in a specific way?" You could then add an
Order by issuetype ASC
to see all the stories first, and then all the subtasks.
However if you want to see the subtasks directly under their parent issues, you might try to order by Rank. Something along the lines of
issuetype=Story OR subtasksof(issuetype=Story) ORDER BY Rank ASC
can show you both issues types in a more organized way.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.