Bulk ServiceNow record operations — jsn

Run controlled bulk updates and deletes against ServiceNow tables with explicit queries and safety checks.

How do I perform bulk ServiceNow updates from the command line? Run controlled bulk updates and deletes against ServiceNow tables with explicit queries and safety checks. JSN gives you a direct terminal workflow instead of requiring the ServiceNow web interface for every inspection or change.
CommandWhat it does
jsn records bulk --table incident --query "active=true" --set '{"state":"2"}'Dry-run: shows the count + sample first
jsn records bulk ... --executeCommit after reviewing
jsn records bulk
jsn records bulk \
    --table incident \
    --query "active=true" \
    --set '{"state":"2"}'

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ⚠  Default update set in scope [x_8821_test]
  Changes are contained to this scope, but a named
  update set is still recommended for tracking.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Dry run: 40 record(s) in incident would be updated

Get started

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

npm install -g @jacebenson/jsn
jsn setup
jsn records bulk --table incident --query "active=true" --set '{"state":"2"}'
Full setup guide & skill docs →

← All features