I am using the below payload. But its throwing error "transitions": "Field 'transitions' cannot be set. It is not on the appropriate screen, or unknown."
Could you please help resolve this ?
POST Method
URL : rest/api/2/issue/
Payload :
{
"fields": {
"project":
{
"key": "LRN"
},
"summary": "Sample TEst cases created using Jira API",
"description": "example of cucumber automated test - Scenario",
"issuetype": {
"name": "Test"
},
"priority" : { "name": "2-High"},
"customfield_24683": { "value": "Cucumber" },
"customfield_11040": { "value": "End to End Tests (E2E)"},
"customfield_26580" : { "value" : "ADFv2", "child" : { "value" : "API" } },
"customfield_10831" : { "value": "TestTeam"},
"transitions": [
{
"id": "11"
}
]
}
}