Zephyr Cloud Create Cycle using Zephyr cloud API

Sukhpal Singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 11, 2022

Hi,

I setup status and custom field api that is working fine for me .

$apiPath = '/public/rest/api/1.0/execution/statuses';
for custom fields
$apiPath = "/public/rest/api/1.0/zql/fields/values";

I am trying to create zephyr cycle using zephyr cloud API, but i am getting below error.

$apiPath = "/public/rest/api/1.0/cycle";

{"name":"Test Orch","description":"Test Orch new","projectId":"10003","versionId":"10000"}
Unirest\Response Object
(
[code] => 400
[raw_body] => {"error":"API not found."}
[body] => stdClass Object
(
[error] => API not found.
)

[headers] => Array
(
[0] => HTTP/1.1 400 Bad Request
[Date] => Mon, 11 Jul 2022 13:33:59 GMT
[Content-Type] => application/json;charset=utf-8
[Content-Length] => 26
[Connection] => keep-alive
[Server] => Apache-Coyote/1.1
)

)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events