Hi,
I'm trying to add Jira test cases into zephyr cycle and first test case has been created twice instead of one time. I am using the following zephyr REST API to add test to cycle.
https://getzephyr.docs.apiary.io/#reference/executionresource/add-tests-to-cycle/add-test's-to-cycle
Here is the sample request body:
POST - https://<doamin>/rest/zapi/latest/execution/addTestsToCycle/
Basic Authentication - xxx
Content-Type - application/json
{
"versionId":xxx,
"method":"1",
"cycleId":xxx,
"issues":["ISSUE-001","ISSUE-002","ISSUE-003","ISSUE-004",
"ISSUE-005","ISSUE-006","ISSUE-007"],
"projectId":xxx,
"folderId":xxx
}
For example first test case (ISSUE-001) has been added twice into cycle instead of one time and other test cases added only one time. Please help me on this to fix the issue.
Thanks in advance!