Hi,
I'm trying to update an issue field and transition.
I used POST call to '/api/2/issue/ISSUEID/transitions'
{
"fields": {
"summary": "test"
},
"transition": {
"id": "1"
}
}
I get the following error:
"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown"
I saw in the documentation that I need to expand the transitions.fields but I didn't managed to get it to work.
Thanks
Hi,
If a field is not configured to appear on the transition screen, then it will not be in the transition metadata, and a field validation error will occur if it is submitted. So I suppose you have to invoke to APIs (one for updating the summary, and other for making transition) or configure transition screen to show the field.
You can find this info here: https://confluence.atlassian.com/jirakb/mapping-a-screen-to-a-workflow-transition-720634253.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.