Forum Discussion

snooksp's avatar
snooksp
New Contributor
3 years ago
Solved

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-execution 

 

 

 

 

 



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
}

 

 

 

 

 

 

 


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

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

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

1 Reply

  • snooksp's avatar
    snooksp
    New Contributor

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

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