- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2018 04:40 AM
Hi, all
I'm trying to add multiple comments one by one using Table API:
/api/now/table/incident/{incident_id}
body: {"comments":"single comment"}
The problem is that all the comments are added for admin user. If there is a way to specify a user for incident comment?
Thank you, regards, Halyna
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 02:17 AM
Comments are added as the user that connects via the REST API. I you use "admin" for each REST API call, it will always be "admin". If possible you should use the correct user. As an alternative, you can add the user to the comment text, but it will still show "admin" as the user who added the comment.
Since you are using the direct table API, there is no intermediate transformation step where you would be able to handle this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 02:19 AM
Thank you, Sebastiaan
Regards, Halyna