Forums

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

How do I pull a list of user stories with specific sub-tasks attached?

Matthew Bright
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!
August 2, 2021

Hi, 

I am looking to pull a filter of all user stories with a specific sub-task assigned to it. In this case, any subtask that contains "QA" so i can track coverage. 

 

Does anyone have any experience creating this sort of filter?

 

Thanks

2 answers

1 accepted

2 votes
Answer accepted
Kristján Geir Mathiesen
Community Champion
August 2, 2021

Hi @Matthew Bright 

I believe this cannot be achieved in Jira out-of-the-box. If you have for example ScriptRunner, then this JQL should get the job done:

issueFunction in subtasksof("issuetype = \"Story\"") AND text ~ QA

HTH,
KGM

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
August 5, 2021

Hi

With standard JQL you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. Your use case is more dynamic than that.

Standard JQL doesn't easily allow it but the results can be quickly found using our professional indexing service:

After you install the app you can simply search:

Server/DC:

issue in parentOf("text ~ QA")

Cloud:

issue in parentsOfSubtasksInQuery("text ~ QA")

You may want to check out the docs as well.

I hope this helps!

Suggest an answer

Log in or Sign up to answer