The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi!
I tried to add a result to a new Test Run with XRay API using the following command:
curl -u "USER:PW" -k -H "Content-Type: application/json" -X PUT --data "{\"status\":\"PASS\",\"executedBy\":\"USER\",\"startedOn\":\"2014-08-30T12:47:35+02:00\",\"finishedOn\":\"2020-11-18T12:09:49+01:00\"}" https://JIRA-SERVER/rest/raven/2.0/api/testrun/2132
The test status is changed as expected. But the dates in the fields "startedOn" and "finishedOn" deviate. When I do a GET
curl -u "USER:PW" -k -H "Content-Type: application/json" -X GET https://JIRA-SERVER/rest/raven/2.0/api/testrun/2132
the fields contain the current date
[...]
"startedOn": "2020-11-20T12:37:48+01:00",
"finishedOn": "2020-11-20T12:37:48+01:00",
"startedOnIso": "2020-11-20T12:37:48+01:00",
"finishedOnIso": "2020-11-20T12:37:48+01:00",
"duration": 0,
[...]
Is there any way to use this API call to use my own values?
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.