JQL query to see all Tests which are linked to all Stories in current Sprint

SchuriiK
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!
July 18, 2019

Hi guys,

I need a JQL filter to see all tests which are linked to the stories in the current sprint.

I'd appreciate any help! Thanks in advance.

 

Best regards

Alex

1 answer

1 accepted

1 vote
Answer accepted
Thomas Magny-Garcia
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.
July 18, 2019

Hi @SchuriiK 
I think a query like that should help you, it gives all issues whose the type is Test and with linked issues whose the Srpint is SprintID and the type is Story.


issuetype = Test and issueFunction in linkedIssuesOf("issuetype = Story and Sprint = SprintID")

Hope it helps !

SchuriiK
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!
July 18, 2019

Hi @Thomas Magny-Garcia

it works like a charm! Thank you so much! :)

Pankaj Kumar May 26, 2020

It doesn;t work for me. JQL gives me error saying issueFunction doesn't exist.

Alan W_ Yueh June 4, 2020

You probably need the ScriptRunner plugin.

Muhammad Waqas Osmani
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!
July 26, 2021

Hi,

Just want to ask is there anyway to achieve aforesaid without using script runner plugin.

Like # people like this
DTS Infra Admin December 20, 2021

How can this be achieved without using script runner plugin?

sinhshi May 11, 2023

And how should we get this like:

Story1 has 5 test a,b,c

Story 2 has 3 tests like f,g,h

so and so...

View should be :


Story1|| A

         || B

       ||C

Story2  ||F

      ||G 

||H 

and so on..

Like Mathieu OGERON likes this
sinhshi June 15, 2023

Have solved this issue by use of Structure in Jira

Like Dave Rosenlund likes this
Dave Rosenlund
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2023

Very glad to hear this, @sinhshi. Congratulations.

Perhaps you'd be willing to share some insights about your journey between May 11th and June 15th so others will benefit from your experience.

Full disclosure, I work for the company that makes Structure by Tempo, but I truly believe others might benefit from your story regardless of the product you chose.

-dave

sinhshi June 16, 2023

Maybe this link will help : https://youtu.be/VNXG5tGkHqs

Suggest an answer

Log in or Sign up to answer