Hi,
I'd like to request jira for all test executions of a given testplan plus a given filter like execution status or execution start date.
According to the documentation on page https://confluence.xpand-it.com/display/public/XRAY/Export+Execution+Results+-+REST I get all test exections with url:
https://host/jira/rest/raven/1.0/testruns?testPlanKey=tpKey
Means the result end in an array with e.g. 7 entries.
Here comes my problem. The plan has 3 test cases. 1 with 2 exec; 1 with 3 exec and 1 with 2 exec. I receive all 7. My interest would be only getting these executions, which are on a specific date or between a timestamp. Something like that:
https://host/jira/rest/raven/1.0/testruns?testPlanKey=tpKey&start=20191030
The information are in the json. I would expect only 3 of 7 result values like Jira shows for the 3 different test cases:
[
{
"id": 182763,
"testExecKey": "proj-key01",
"testKey": "proj-key02",
"status": "FAIL",
"type": "Manual",
"start": "2019-10-23T11:47:26+02:00",
"finish": "2019-10-23T11:47:41+02:00",
....
Did anyone got answer for the above query?
I want to fetch the status of all tests under testplan key based on date filter say like between some execution fininsh date.
Hi,
Can you please open a ticket in our Support?
This is a specific inquiry and we have to completely understand the scenario to help you.
Best regards,
Team Xray
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.