I am trying to update an existing JIRA ticket status from Open to Resolved. When I use below JSON.
{
"transition": {
"id": "5"
},
"fields": {
"resolution": {
"name": "Fixed"
}
},
"update": {
"comment": [
{
"add": {
"body": "Resolve issue"
}
}
]
}
}
The API response gives me below:
"error": {
"errorMessages": [],
"errors": {
"customfield_28700": "Reason for the Bug is required for Production Bugs"
}
}
I don't know what is wrong here, can someone please help me to fix this problem? Thanks a lot!