0.1.1 • Published 4 years ago

create-servicenow-change-request v0.1.1

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
4 years ago

Overview

This tool automate the creation of a change request in ServiceNow.

  • The planned and work start date is set to current date.
  • The planned and work end date is set to current date plus 5 minutes.

Install

Install this globally and you'll have access to the create-servicenow-change-request command anywhere on your system.

npm i create-servicenow-change-request -g

Configuration

User configuration file

Create a yaml file with following informations:

# ServiceNow host
host:

# ServiceNow id and name
id:
name:

# Tequila
username:
token:
key:

Application configuration file

Create a yaml file with following informations:

# Business Service id and name
id:
name:

# Assignment group id and name
group_id:
group_name:

# Version prefix
prefix:

Usage

csncr -h
Usage: csncr -u user.yml -a app.yml -l CHANGELOG.md

Options:
  -u, --user-config  User configuration file               [string] [required]
  -a, --app-config   Application configuration file        [string] [required]
  -l, --changelog    CHANGELOG.md file                     [string] [required]
  -h, --help         Show help                                       [boolean]
  -v, --version      Show version number                             [boolean]

Examples:
  csncr -u user.yml -a memento.yml -l CHANGELOG.md
  csncr -u user.yml -a rdp.yml -l CHANGELOG.md

Contributing

Contributions are always welcome.

See Contributing.

Developer

License

Apache License 2.0

(c) William Belle, 2019-2020.

See the LICENSE file for more details.