Creating Standard Change using sn_chg_rest REST API scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 09:46 PM
Using the REST API api/sn_chg_rest/change/standard I am getting the following error.
If I call the script using user account with ITIL role its OK.
Without using the ITIL role what permissions to which tables do I need to define? I have so far given read,write,create permissions to a user defined role to tables - change_request, std_change_record_producer, std_change_template and std_change_producer_version
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 11:49 PM
Do you know what ACL configuration need to change to grant non-itil users create change request? The Azure DevOps Servicenow add-on managed to do this without massive change in ACL configuration.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2020 12:00 AM
Hi Chito,
For change task template Role required: itil, change_manager, or sn_change_write.
Users with the ITIL role can view the list of available standard changes and submit change requests.
Please mark if helpful to you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2020 04:26 AM
I granted the the user the sn_change_write role (not change_manager because it also holds the itil role) and it is still unsuccessful. The main reason for avoiding the itil role is the license associated with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 11:32 AM
Chito, did you ever get this to work with a new role? I'm facing the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2022 12:25 AM
Hey!
The custom role to use with Change API should replicate "itil" role's permissions on tables in scope of Change Management:
Create/Read/Write: change_request, change_task, chg_mgt_worker
Read: chg_model, chg_model_condition_type, conflict, std_change_producer_version, std_change_template, task_ci, task_cmdb_ci_service