Labelling Incidents through Integrations

TejpalB
Tera Contributor

I have recently done the ServiceNow Integration to create the ServiceNow Incidents. I am using service now REST APIs to create the incidents. After creating the incidents through integrations, I want to sync the incidents in my system. For that, I need to query the service now incidents, but as a result, I only want the incidents that are created by the Integration which I have created. 

 

I tried to put the integration source details in the label,  It works, but I found that we can add a label to an incident using the below label entry API.

https://{{instance}}.service-now.com/api/now/table/label_entry

 

But, it requires the below scopes. Which are only available for maint role and not available for System Admin by default

label_entry.table 
label_entry_table_key
label_entry

 So, my question is the labeling can only be done through UI and not through the REST APIs? 

Is this feature only available for SNOW maint role?

What is the standard practice for labeling the service now incidents through external integrations using REST APIs?

 

Or, to solve my problem where I want to query the incidents which created by my integration, Is there any other solution?

6 REPLIES 6

TejpalB
Tera Contributor

Thanks @Nia McCash for responding.

The problem with automatically tagging is this is something that needs to be created by the ServiceNow account owners, which may not be feasible and ask every ServiceNow Integration which we make through the appliaction

Eric Smith
Tera Expert

TejpalB, hi. I'm trying to recall if I've seen a similar use case before, because it sounds quite familiar. I'm sure there is somewhere in the community similar case, but do not remember the author to link to it. You can try with a 3rd party solutions, if you're open to using such. Take a look at zigiops.