Forums

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

How to filter Stories and its associated sub-task that has specific condition

Rocky Y
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!
November 12, 2019

Hi All,

Looking for possible solution for below requirement. I have an story that belongs to below project and it has sub-tasks like QA, DEV. Sub tasks are distinguished by adding new field called "Sub-Task Type" and it has values of QA and DEV. Is there a way i can retrieve all the stories along with sub-tasks that has either QA or DEV sub-tasks. I currently do not have plug ins and looked at all articles in this forum and couldn't figure out the solution. Any help is appreciated

Project = CCC(At Story Level)

Sub-Task Type(New field added at sub-task) = QA (at Sub-task level)

In Summary, I need list of all stories along with list of sub-tasks that has field value "Sub-Task Type" as QA or DEV. I want to order by Story followed by Sub-task without using plugins. Thanks

1 answer

0 votes
Sherry M Rodulfo November 13, 2019

what I suggest is filter story first, then execute the following to who the subtasks:

issuefunction in subtasksOf("filter = '12345'") --- 12345 is a filter for an issue

then include whatever condition you may have.

Rocky Y
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!
November 13, 2019

Thanks Sherry. The only problem is the new field “Sub-Task Type” that’s been added is at sub-task level only and doesn’t exist at story level. So, I cannot create seperate filter for story alone

here is the example:
1. project = cc and sprint = 1(at story level)

2. project =cc and sprint =1 and sub-task type = qa (at sub-task level)

so my search needs to show both story and sub task at this level

I also tried creating a filter alone step 1, called the filter in Issuefunction of subtasksof (filter) but the search lists only sub-tasks but not both stories and sub-tasks

EX: issuefunction in subtasksOf("filter = 'filtera'") and "Sub-task Type" = QA

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events