Every time we create a test case, we immediately make sure it is linked to a story. When I open the story in the active sprint, I can see which test cases are linked in the "traceability" part of the story.
Now I'm looking for a JQL to make a quick filter that makes sure only the stories that do not have at least 1 test case linked to them are visible.
Could anybody help with that?
Thanks in advance!
with scriptrunner you have the hasLinks issueFunction
issueFunction not in hasLinks("[link name]")
You have all the info in
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_haslinks
Thank you for your swift response!
One more question: what exactly do I replace "link name" with in order to find any test cases? I have tried some things, but can't seem to get it to work.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
which case test manager are you using? probably I misunderstood your question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're using Adaptavist for our test cases, but while looking for a way to do it with your script, we found a working solution.
We used this to get it to work:
issue not in hasTestCoverage()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice, glad that it helped in any way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@fran garcia gomera & @Jeroen Bossuyt
I found out a way to filter issues where there is a test case attached, but to go a level further, would there be a way to filter out approved test cases from the issues where test cases are attached. We use Zephyr.
issue in hasTestCoverage()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any possibility for Jira Cloud users with Zephyr Scale Tests?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.