Ask a Question

Zephyr Cloud REST API : How to Add Defects by API Update Execution?

SOLVED
snooksp
New Contributor

Zephyr Cloud REST API : How to Add Defects by API Update Execution?

1) Document : https://zfjcloud.docs.apiary.io/#reference/execution/get-list-of-linked-executions-to-issue/update-e... 

Screen Shot 2564-08-18 at 20.06.41.png

 

 

 

 

 



2) I can not request API Update Execution by insert field "defects"
got ERROR code 400: 

{
"errorType": "ERROR",
"clientMessage": "issueId field value is null or 0 is not valid.",
"errorCode": 123
}

1629292151951.jpg

 

 

 

 

 

 

 


3) If remove field "defects" can received status 200 Success

1629292378610.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
snooksp
New Contributor

Re: Zephyr Cloud REST API : How to Add Defects by API Update Execution?

I have received status 200 Success
payload : field "defects" have to insert issueId not IssueKey
Example : 

"defects": ["48161", "48162"]

View solution in original post

1 REPLY 1
snooksp
New Contributor

Re: Zephyr Cloud REST API : How to Add Defects by API Update Execution?

I have received status 200 Success
payload : field "defects" have to insert issueId not IssueKey
Example : 

"defects": ["48161", "48162"]

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: