Create and update ServiceNow records from the CLI — jsn

Create and update ServiceNow records from the terminal with explicit fields and write-back verification.

How do I create or update a ServiceNow record from the command line? Create and update ServiceNow records from the terminal with explicit fields and write-back verification. JSN gives you a direct terminal workflow instead of requiring the ServiceNow web interface for every inspection or change.
CommandWhat it does
jsn incidents create --description "Demo: read me in the hero" --data '{"urgency":"3","impact":"3"}'Create an incident with fields
jsn records create --table incident --data '{"short_description":"..."}'Any table
jsn incidents create
jsn incidents create \
    --description "Demo: read me in the hero" \
    --data '{"urgency":"3","impact":"3"}'

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ⚠  Default update set in scope [x_8821_test]
  Changes are contained to this scope, but a named
  update set is still recommended for tracking.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Created incidents INC0010019


INC0010019 (incident)

─ Core ─
  number:  INC0010019
  sys_id:  3b753e3c83be8f10f7bfc670ceaad3e7
  sys_class_name:  incident
  state:  1
  active:  true
  short_description:  Demo: read me in the hero
  description:  
  priority:  5
  urgency:  3
  impact:  3

─ People ─
  opened_by:  6816f79cc0a8016401c5a33be04be441

─ Status ─
  approval:  not requested
  escalation:  0
  made_sla:  true

─ Dates & Times ─
  opened_at:  2026-08-17 03:13:22
  sys_created_on:  2026-08-17 03:13:22

  → view: jsn inc show INC0010019 — View the new incidents

Get started

Install, point it at your instance, then run this feature.

npm install -g @jacebenson/jsn
jsn setup
jsn incidents create --description "Demo: read me in the hero" --data '{"urgency":"3","impact":"3"}'
Full setup guide & skill docs →

← All features