Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I search for tasks where the status of the related story has a certain value?

Pam Koertshuis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2020

So I have a bunch of stories with subtasks. I want to find all tasks on my name, but only for stories in a certain state. On the board I have to click open each story one by one to see all tasks assigned to me, but I need some kind of worklist. So in the issue search I try to filter on tasks on my name. You can see the tasks with the name of the story in the title, but I cannot filter on the status of the related story.

1 answer

1 accepted

0 votes
Answer accepted
Muhammad Ramzan(Atlassian Certified Master)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2020

You can get your results by using :  JQL Search Extensions for Jira & reports

 

They have amazing features like sub queries, in your case what you need to do is

 

 Create a sub query : "type=story and status=yourstatus"and name it anything like in below example name is "stories"

Now you can use following query and it will get all stories sub tasks where you are assigned to sub task.

subTaskOfQuery="stories" and assignee = currentUser()

 If you want to get both stories and sub tasks then you can use following query

(subTaskOfQuery="stories" or  issuesInQuery="stories") and assignee = currentUser()

 

here is the documentation reference:

https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/173211649/Subqueries+-+Jira+Cloud

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events