JQL for Searching all "User Stories" without test cases linked to it

Varun Pradhan December 5, 2022

How to get a list of all the user stories that are not linked to any test cases using JQL?

2 answers

1 vote
mauricio.groth
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.
December 5, 2022

Hi @Varun Pradhan

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.

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. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

You can use this query to find your uses stories that don’t have a link with test cases

issue in linkedIssuesOfQuery("type != 'test cases'") and type = 'User Stories'

Check out the documentation for more examples.

If you have any other questions, please contact our support. We’ll be happy to help you!
Best regards,
Maurício

1 vote
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2022

Hi,

Welcome to the community.

You will an addon such as Scriptrunner to achieve this

Varun Pradhan December 5, 2022

@Mohamed Benziane How can we achieve this using Scriptrunner? I have this addon added, can you provide me an example?

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2022

you can try

issueFunction not in linkedIssuesOf("project in (ABC)","blocks") and type = "User Story"

 

https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/jql-functions#id-.JQLFunctionsvCurrent-IssueLinkFunctions

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events