Hi,
I want to query for issues of type Test which do not have a Test Repository Path. When not setting a path on creation the issue will automatically put into the "Orphans" path. I already tried using the function from the XRay documentation like:
issue in testRepositoryFolderTests('KEY','Orphans')
but it did not work. I tried with empty, null and '' instead of Orphans but this did not work either. For Test Sets there is a special function but for the repo. path there is not.
My last attempt was to query with the custom field number, but Jira did not find the custom field.
Hi @Flummiboy
it´s kinda awkward and really annoying. That is indeed not working. I kinda got a workaround with the following query:
project = <yourProject> and issue not in testRepositoryFolderTests("<yourProjectKEY>", "")
Hope this solves your problem.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Stefan Salzl is there a ways for me to use
testRepositoryFolderTests
in cloud xray? what I want to do in my JQL query is to search for test cases under s specific folder in test repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jonamei Basijan - welcome to the community,
unfortunately enhanced JQL queries are not available in cloud version (according to documentation):
https://docs.getxray.app/plugins/servlet/mobile?contentId=31623414#content/view/31623414
Best
Stefan
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.