Closing Standard Change Request with API

TahirM
Tera Contributor

Hi,

 

I have been trying to close a Standard Change Request which was created via the API to closed as part of automation using the following request using the PATCH method

 

{
"display_value": "Closed",
"state":"3",
"active": "false",
"phase_state": "closed",
"close_notes": "Approved for Prod",
"close_code": "Successful"
}

 

However, I keep getting the following error.

 

400 Bad Request

{
    "error": {
        "message": "Standard Change Request cannot move to state: 3",
        "detail": ""
    },
    "status": "failure"
}

 

0 REPLIES 0