how to access the work notes or comments for a given incident through the REST API
This content was last updated in 2023. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 03:07 AM
Hi Team,
how to get the work notes and comments for a given incident through the REST API integration from one instance to another ServiceNow instance using GET method
veera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 03:48 AM
Hi @veera donikela ,
Expose the sys_journal_field table for the role which is accessing the data via REST integration
In this table you would have the table name, record id.
table name refers to incident
record id refers to the sys id of the incident
Do a glide record and using sysid access the comments and work notes
Mark helpful if this has helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 03:52 AM
Hello @veera donikela ,
Please check the below links
https://www.saaswithservicenow.in/post/how-to-get-work-notes-and-comments-via-servicenow-api
https://timdietrich.me/blog/servicenow-table-api-comments-work-notes/
Thanks,
Omkar