Hi, Jira community 👋🏼
I am not able to view all subtasks for a team-managed project when my JQL is
issuetype in (Subtask, sub-task)
How can I make sure all the subtasks are visible?
Hello @Shilpa Sikotra Taylor
Try this
issuetype in (subTaskIssueTypes())
If that doesn't work, please tell us more about the sub-task issues that you are not seeing.
Are you able to view the details of those missing sub-tasks?
Do other team members get the same results (missing issues) with the same filter?
Thank you for your answer, @Trudy Claspill
Correction, I am searching
issuetype = sub-task and Sprint = 81
or
sprint = 81 and issuetype = sub-task
and both show a lower count than I can see on the sprint.
I wonder if the issue is related to my sprint? 🤔
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there more than one sprint with the same name in your Jira instance?
Jira does not require sprint names to be unique. Are you sure that the sprint with ID=81 is the sprint that you are viewing when you say "than I can see on the sprint"? Where are you viewing that sprint?
If you are viewing your sprint in a Board (in the columns view) are you sure you are viewing only one Sprint and not multiple sprints?
Are you sure that all the items you see when you are viewing the sprint a of the issueType "sub-task"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thought I'd answer your questions in bullet points:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Shilpa Sikotra Taylor
Hm, this is very interesting.
In my environment I have a Team Managed project with a scrum board where I have issues that have subtasks.
In the Advanced Issue Search when I try to run a filter for just
sprint=<sprintID>
...the results I get don't include any of the sub-tasks that are attached to issues in the sprint.
If I execute a search for
issueType=Subtask
...then I get the sub-tasks and I can see the sprint in the Sprint field in the details of the sub-task.
I found that Atlassian has a bug about searches by Sprint for Team Managed project not returning sub-tasks that inherit the sprint value from their parent issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not strictly a "bug" - sub-tasks are not sprint items and they don't have a sprint field by design. It's actually working as intended!
However, it's not intuitive, it's not helpful and it's not good for us humans.
If you ever run into a server install I used to be an admin of, you're likely to find a handful of scripted fields that echo sprint, parent, and epic through the hierarchy. (So that you can use things like "Epic-all = <epic's id>" and get the Epic, Issues and Sub-tasks in one go)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I find confusing is that when I execute a search, display the results as a list, and add the Sprint field to the columns, then it shows the sprint value for the Sub-tasks.
Additionally if I execute a search for sub-tasks in a Company Managed project and add criteria for the Sprint, then it does return the sub-tasks.
So the searching for sub-tasks "in" a sprint works for Company Managed projects but not for Team Managed projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep, that's a weird quirk of the way it's been implemented (and it's a recent implementation on Cloud). In some places, the sprint field comes out on sub-tasks - there's a line of code that's doing something like issue.getParentObject().getSprint(), but it's not universal, and it's not in JQL!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, dear! Not the answers I was hoping for. Do you have any suggestions for work arounds @Nic Brough -Adaptavist- and @Trudy Claspill ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See the discussion above!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shilpa,
Do the sub-tasks use a different workflow? Or the same as the parent?
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.
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.