Hello,
I'm struggling to update steps status, and in order to be able to proceed, I need to identify the iterationID
GET -> http://myapplication.com/jira/rest/raven/2.0/api/testrun/000001/iteration/{iterationID}
I read the documentation and I'm not able to find anything related to how to get it. Also, I used the GET endpoint on execution, and I wasn't able to find anything related to this ID in the json response.
Found the issue.
The iterations parameter is present in the testrun json response, only if the test case has dataset.
Hi @rdutu -- welcome to the community,
First I need to say I´m not familiar with iterations but I have experience with xray and it´s api.
From your initial post´s tags I assume you are using cloud. I couldn´t find any hint that cloud API is providing such an endpoint.
See documentation link below:
https://docs.getxray.app/display/XRAYCLOUD/Version+2
In case you have any example/link to your mentioned documentation please share the link here.
Thanks in advance.
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 , sure, I'm trying to use this endpoint:
https://docs.getxray.app/display/XRAY/v2.0#/Test%20Run/get_testrun__id__iteration__iterationId_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @rdutu
As I was assuming in my answer this link leads to the api documentation of server version:
Regarding your post you are running a cloud instance so this also comes with a different API.
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 @rdutu ,
Could you give some example calls with use cases of implemented calls? Can you confirm that your deployment type is cloud?
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, deployment type is cloud :D
This is a get test run ID from a test execution.
http://myJira.com/jira/rest/raven/2.0/api/testrun?testExecIssueKey=CAR-6477&testIssueKey=CAR-6210
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.