JQL used : project = AM AND issuetype = Subtask AND Sprint = 83
I'm using this query but the result is empty even though there are many sub task for the current sprint . Can anyone please help here.
Project type : Team managed project
Hello @Shreya M
Another alternative is this:
issuetype in subTaskIssueTypes()
That will retrieve all types of Subtask issue types. That way if you have multiple types of Subtask issues you don't have to remember their names.
I apologize for not being more specific. I meant that you should substitute that into your filter where you have "issuetype=Subtask". This is what I meant for you to try:
project = AM AND issuetype in subTaskIssueTypes() AND Sprint = 83
If that does not yield any results, then please try this:
project = AM AND Sprint = 83
...to confirm that you have any issues assigned to the sprint. If the above does not yield results, then there are neither issues not subtasks assigned to your sprint.
If the above does yield results, that confirms that you have issues assigned to your sprint. The next step is to examine those issues to see if any of them have Subtasks.
Subtasks inherit their sprint value from their parent issues. Subtasks cannot be assigned to a sprint independently from their parent issues. If the issues in the sprint have no Subtasks, then there are no Subtasks assigned to the sprint.
If you have issues assigned to the sprint, and you believe the one or more of those issues has Subtasks, please show us the details of one of those issues including the section that shows the type of the parent issue and the section titled either "Subtasks" (for an issue in a Company Managed project) or "Child issues" (for an issue in a Team Managed project).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wildly simple and helpful and this should be at the top of anything related to pulling in subtasks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like to use the jql line "Sprint in openSprints()" instead of "Sprint = 83". This way, i dont need to change the query after the sprint is finished. But i dont get the desired subtask.
Do i need to change it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sprint in openSprints()
This will return the issues that are in Open (started, and not yet Closed) sprints, and will include all their subtasks.
Please start a new Question and provide all the information about your scenario including detailed examples of the subtasks you think should be included in the results but are not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shreya M ,
If you experience difficulties creating JQL queries, try the application my team has developed.
✅With Text to JQL gadget you can:
If it's easier, then you just enter a request in ordinary language, and the gadget converts your request to JQL.
The app is free. Enjoy!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shreya
would you please try the below JQL
project = AM AND issuetype = Sub-task AND Sprint = 83
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.