Incident assignment group cannot be updated with REST API

Nakata1
Tera Contributor

Hi All

If you try to write an incident assignment group with the REST API,
it will only fail if you try to change the assignment group from a parent group to a child group.
What could be the reason?

3 REPLIES 3

Priyankar Hald1
Mega Expert

Hi Nakata,

I tried the same in following format using REST API Explorer as admin and could update the assignment group of an existing incident from "Incident Management" to "Help Desk".

HTTP Method / URIPUT https://<instance>.service-now.com/api/now/table/incident/2e5cac00db31201091599444ca96194d
 Request body 
{"assignment_group":"679434f053231300e321ddeeff7b12d8"}


Please check the if the authenticated user over the API has enough access to write an incident record.

Regards,
Priyankar

Ankur Bawiskar
Tera Patron
Tera Patron

@Nakata 

did you check any before update BR is restricting the update of the group.

what is the error message you got?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Nakata 

Hope you are doing good.

Did my reply answer your question?

Would you mind marking the best matching answer as correct and helpful, to close this thread?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader