I use Jira and Zephyr for test case management. I am currently in need of identifying Jira Stories/Bugs that do not have Zephyr Test cases linked in the Traceability/Test Case/Coverage panel. I have tried many queries but cannot get anything to work. This would be for either a Sprint or Fix Version. The sprint and fix version parameters are easy to reference. However, I cannot find how to determine if the story/bug does not have a Zephyr test case associated with it. Looked at all the has**** functions listed but none seems applicable.. Found a reference to hasTest() but it does not show as a valid option now. Any suggestions would be greatly appreciated.
Hi Ricky,
Welcome to the community!
I tested the following JQL and it worked for me:
issuetype in (Bug,Story) and !(issue in hasTestCoverage())
Let me know how it goes!
Bingo... That worked like a charm. Thank you Sayed. The function call I was using only had "hasTest" and was failing as it was missing the "Coverage" part. No that I got the right function call, it worked. Your help is much appreciated. I hope one day I can return the favor. Best regards, Ricky
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad it worked Ricky and the pleasure is all mine :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sayed,
This query came up for me today but we are using Jira cloud. Are you aware of a solution for cloud also? The Zephyr documentation that I have found reference these advanced JQL functions only for server/DC.
Thanks!
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also using Zephyr Scale Cloud version. The hasTestCoverage() is only availble in the server version. Is there a way to do this for cloud ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having the same issue, not working in Cloud.
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.