Description field empty when use REST API :(

erickorzen
Kilo Contributor

Hi,

I just started playing with REST API on development instance and I found that when I'm creating new incident using user which don't have assigned admin role all fields are correctly populated except "description".

What roles I should assign to user to be able to populate "description" field assuming that I don't want to use admin ?

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

You can assign ITIL role. That should do. But it depends on your use case. Is it a requirement or you are just trying it out?


Because if you want to implement in for you client, you can't assign itil role to every users, because it will cost you more.



You may want to find a way or use scripted rest API to populate that field otherwise.



Please mark this response as correct or helpful if it assisted you with your question.

I has been asked to write Zabbix Media type Script to integrate Zabbix with ServiceNow. I'm almost done but this empty description field was issue.


I assigned ITIL role to user and now it works.



Many thanks for help Sanjiv


Great. Can you mark this thread answered, so that it will be helpful for others in future?



Please mark this response as correct or helpful if it assisted you with your question.

New York Release

I was also testing REST message and encountered the same issue. Assigning the itil role or at least the sn_incident_write role to the user used for the REST message did the trick. Restriction was being caused by ACL. Hope this helps.