Forum Discussion
harsh-dubey
3 years agoStaff
Hello krishnapemmaraj
Looks like your request payload is incorrect.
The correct keyName is "automationFramework" not "automationTool"
jobName:Job1
automationFramework:JUNIT
cycleName:Cycle1
folderName:Folder1
versionName:Unscheduled
projectKey:{projectKey}
cycleStartingDate:
cycleEndingDate:
createNewCycle:true/false
createNewFolder:true/false
file:result.zip
assigneeUser:assignee accountId
jobDescription:Descriptions
Hope it helps.
BR.
- krishnapemmaraj3 years agoNew Contributor
Thanks hash-dubey
I tried with the below
POST data:
{
"automationFramework":"JUNIT",
"automationType":"UPLOAD",
"taskname":"Job1",
"cycleName":"Cycle1",
"folderName":"Folder1",
"appendDateTimeInCycleName":true,
"appendDateTimeInFolderName":true,
"versionName":"Unscheduled",
"projectKey":"{projectKey",
"cycleStartingDate":"",
"cycleEndingDate":"",
"createNewCycle":true,
"createNewFolder":true,"assigneeUser":"{My ID}",
"jobDescription":"TEST AUTO",
}but still got the same error
- raj3123 years agoOccasional Contributor
any workaround to this issue
- karthikyn3 years agoRegular Visitor
it is not working as per documentation. Have you ever tried this?
Related Content
Recent Discussions
- 12 days ago