Change Management API Create Change Task

Davyrob
Kilo Explorer

I am using the ADO Service Now integration and I'm now using some of the Rest API interfaces to update some of the addition info.

I am trying to use this REST API /api/sn_chg_rest/change/{Change_sys_id} but when i use it via PostMan (other API Calls work so its not an auth issue) i get the following error

"message": "Change Task found, but not related to Change Request : {Change_sys_id}
 
i have supplied the id of the change request i want to assign it to but i can't seem to see what i am missing.
 
Additionally has anyone managed to complete a risk assessment instance via an API call as well or is this always a manual step.
 
any help would be greatly appreciated.
2 REPLIES 2

Sukraj Raikhraj
Kilo Sage

Did you try using making a call using the REST API Explorer in SN?

the service account that we are using to connect to the REST API doesn't seem to have been granted permission to the REST API explorer within servicenow so i can't log in to check it works from there.

is there anything obvious from the call im making that would be why that error message is being displayed?