servicenow
Installation
SKILL.md
ServiceNow
Query and manage incidents, changes, and service catalog items.
Environment Variables
SERVICENOW_INSTANCE- Instance name (e.g.mycompanyformycompany.service-now.com)SERVICENOW_USER- UsernameSERVICENOW_PASSWORD- Password
List incidents
curl -s -u "$SERVICENOW_USER:$SERVICENOW_PASSWORD" \
-H "Accept: application/json" \
"https://$SERVICENOW_INSTANCE.service-now.com/api/now/table/incident?sysparm_limit=10&sysparm_fields=number,short_description,state,priority,assigned_to" | jq '.result[]'