Hello,
we are using Xray in Jira DC. Planning migration to Jira Cloud. In DC version, we use JQL function “testExecutionTests”. For example: issue in testExecutionTests('issuekey', ‘PASS’).
How can we rewrite this functionality for cloud, so the JQL logic for returned issues is the same?
Based on documentation https://docs.getxray.app/space/XRAYCLOUD/44565225/Enhanced+Querying+with+JQL there are 4 JQL functions available, but not sure how to accomplish the same result as with JQL from DC, mentioned above. DC compatible JQLs are in beta testing.
We are using these JQL functions inside scriptrunner scripts, where we have multiple JQL queries defined and executed to search for issues.
Thank you for your help.
Hi @Pavol Gocal , there's no Cloud equivalent of testExecutionTests; the DC-parity functions are still beta and PASS isn't a native Jira field, so do it through Xray's GraphQL API from your ScriptRunner code:
Same result set as issue in testExecutionTests('KEY','PASS'), just resolved through the API. ScriptRunner example: getting Xray tests from a Test Execution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.