Hello, is there some way, how to get TestRunStatus in one field? Calculated on server side? Just get values like "", "PASS", "FAILED"?
Because sometime I get in JQL under my test under fields some collection with executions.
It is complicated to harvest correct answer - if is PASS or FAILED:
"fields": {
"customfield_10528": {
"issueId": 825968,
"statuses": [{
"statusResults": [{
"latest": 0,
"latestFinal": 0
}]
}]
}
Sometime I get this simple (but only when no execution):
JSON QUERY:
fields.customfield_10528.statuses.name
Hi!
Looks like it is custom field from plugin.
Could you add related custom plugin tag, then I hope developers will help you?
Cheers,
Gonchik Tsymzhitov
Yes, we have XRAY 2 on our server.
If I want to use current testExecutionStatus, in JIRA is visible. Somehow is calculated based on my settings. I have set "last execution status".
But when I try get it from server by REST, I get collection of execution's results. Means, when runs in past 2 time, then 2 collection - and there is only version, based on I can order this collections. So I am lost now.
I assume, that there is custom field "testRunStatus", but this not return anything. I must use this "customfield_10528" with collections.
How to do that easily? there is no way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Viktor,
You can get the TestRunStatus by using the REST API for Test Runs.
Yes, the results are based on the settings so result are coherent.
As for the Test Execution Status, yes it returns the status of all the Tests that are associated with the Test Execution.
Best regards,
Xray Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.