I tried to find it at various place but I dont find any concrete solution on how can I create a filter in JIRA that would list me all those sub-task that are linked to User stories in the current sprint. I tried various JQL's but no luck, one such sample;
project = "XYZ Advisor Project" AND "Team (XYZ)" = "Team Blue" AND Sprint in openSprints() AND type in (Sub-task).
Why do I need it? Because as a SM, I want to pull that filter on the Team's Dashboard to see who all are assinged with certain sub-tasks by adding a gadget "Pie Chart".
Hi,
You should try this :
project = "XYZ Advisor Project" AND "Team (XYZ)" = "Team Blue" AND Sprint="name of your sprint" AND type = Sub-task
This filter gives you all subtasks that exist in the sprint. Then you save it with a name, and select it in your gadget.
If you want to have stories too, just change
type = Sub-task
with
type IN (Sub-task, Story)
Hope this will help.
Vincent
Hi UPS,
Vincent is right, I was confused by the words "linked to User Stories", so I gave you a wrong answer. Sorry for that.
I think, all of your subtasks are subtasks to stories, right? Then you don't need subqueries just to get all sub-tasks in a sprint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Vincent but that query would not give me the desired result what I am looking for or atleast I am expecting to return, instead it gives me the following error;
"No issues were found to match your search
Try modifying your search criteria or creating a new issue"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So then, let's narrow down your problem. Do you get a result with that JQL:
project = "<your project-name>" and sprint = "<your sprint-name>"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thing, check the names you put. Many times, a filter returns nothing because the specified names were wrong.
Then, are you sure that you have Sub-tasks ? Sometimes, when I try to create sub-tasks, the default type is Action - even though I clicked "add sub-task". So, this might look silly, but check that, just in case.
You could also try to extend the perimeter of the search by removing the "team statement" and the "sprint statement". This might show all of the Sub-tasks that exist in your project. (Edit : that's almost what Thomas told you to do)
Now, I'm going to reconsider the query :
project = "XYZ Advisor Project"
Unless the project name is wrong, nothing to change here.
type = Sub-task
Nothing to change here either.
Sprint="name of your sprint"
Just check the Sprint name.
"Team (XYZ)" = "Team Blue"
This one is troubling. To me, it looks like you're comparing two values. I guess you're using the custom field "team". As I don't work with it, I can't really help with this, but I'm pretty sure that the statement would be something like this :
team = "Team Blue"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
Actually I am looking for same filter command that solve my problem.
Problem Statement:
I want to see my Test Task with linked User story,
User Story assign to Person "A"
Test Task Assign to Person "B"
Now I want filter in which we can see both on one page.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have the Scriptrunner plugin? With that, you can create subqueries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There may be some other plugins as well, but you can't do such a query with plain Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see, I tried to installing it but seems like its paid version and I may need to check with my management if they are going to provide it. Thanks though for your response.
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.