i have created a workflow and a transition in that where if a user wants to transition the status of issue from to do to in progress a custom field analysis should be filled and i am trying to transition the issue via rest api i am getting the custom field which is required but when i am trying to update the field i am getting an error
Error transitioning issue: Error: Failed to transition issue: 400 Bad Request. {"errorMessages":[],"errors":{"customfield_10038":"Operation value must be an Atlassian Document (see the Atlassian Document Format)"}} this is the resolver function
{ customfield_10038: 'hello' }
What is the type of field that you are using for customfield_10038?
ADF (Atlassian Document Format) is expected for fields like description. if you are okay to have a simpler use case, I would suggest that you change the type of the field. Else you will need to follow ADF guidelines while updating the field like first field should be "version": 1, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in that case can you try setting customfield_10038 like this and see if works for you.
"customfield_10038 ": {
"version": 1,
"type": "doc",
"content": [{
"type": "paragraph",
"content": [{
"type": "text",
"text": "hello"
}
]
}
]
}
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.