I am facing problem while forwarding incident ticket to third party system. I have created status like 'Sent to third party system' The actual scenario is like..
I am leaving blank Priority field in incident and forwarding request to third party. Request forwarding fails as we have coded that it will throw an error and set the status as "Failed to sent".I set that priority field with edit request from SDP and reattempt the forwarding. In subsequent call, I set the status as "Sent to third party system" but SDP is not updating the status.
As a return to execute method of my custom class, I am returning below JSON:
{
"result": "success",
"message": "Ticket generated",
"operation": [{
"OPERATIONNAME": "EDIT_REQUEST",
"INPUT_DATA": [{
"STATUS": "Sent to Third Party system"
}]
},
{
"OPERATIONNAME": "ADD_NOTE",
"INPUT_DATA": [{
"notes": {
"notestext": "note text"
}
}]
}]
}
For this integration we have referred Jira example and using Custom menu which is invoked from "Actions" tab with Executor class (i.e our custom java class).
Regards,
Dvs