Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

I am not able to update test cycle for adding test cases in zephyr scale api.

Devyani Konde
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!
Nov 06, 2023

Created test cycle using below  json payload:

POST: https://api.zephyrscale.smartbear.com/v2/testcycles

{
"projectKey": "APT",
"name": "Test_cycle_1",
"description": "Regression test cycle 1 to ensure no breaking changes",
"plannedStartDate": "2018-05-19T13:15:13Z",
"plannedEndDate": "2018-05-20T13:15:13Z"

}

Then I am updating the test cycle using below  json payload:

PUT: https://api.zephyrscale.smartbear.com/v2/testcycles/{TESTCYCLEKEY}

{
"id": 1,
"key": "APT-R810",
"projectKey": "APT",
"name": "AUTO_MAVEN_TEST_22",
"statusName": "Done",
"project": {
"id": 299791
},
"status": {
"id": 5414353
}
}

 

I am getting below response:

{
"errorCode": 400,
"message": "Test cycle project not Found",
"status": "Bad Request"
}
Please suggest me how to update test cycle to add test cases.

2 answers

Presumably you have entered the required key into the URL, i.e. 

https://api.zephyrscale.smartbear.com/v2/testcycles/APT-R810

You can get user community support from Zephyr Scale's own forum here: ZS Community

Hi @Devyani Konde

 

Welcome to the Atlassian Community!!

As you mentioned above we clearly saw the error is related to the Authentication.

please go through this link which is shared below for better understanding🤞

Troubleshoot REST API Issues

 

Also accept the answer if it helps you and for other who will be visiting this thread in future😊.

 

Regards,

Wasim

Devyani Konde
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!
Nov 06, 2023

Hi @Wasim ,

 

I successfully created the test cycle using the provided authentication bearer token. However, I am encountering an error specifically when attempting to update the test cycle using the same token. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events