Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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


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


1 answer

1 accepted

1 vote
Answer accepted

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 !

Hi @Thomas Magny-Garcia

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

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

You probably need the ScriptRunner plugin.


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

Like # people like this

How can this be achieved without using script runner plugin?

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you