Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

how to access the work notes or comments for a given incident through the REST API

veera donikela
Tera Contributor

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


thanks and regards 
veera
2 REPLIES 2

Basheer
Mega Sage

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.