Is it possible to write a script to create a change request externally?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2017 12:13 PM
Are there examples or a way to write a script (say on a Linux server in python, or whatever language) and post/push a change request creation into ServiceNow? Perhaps using REST or something else?
I have an automated task to change a system, but I need a change request first before the automation script can execute and I want it to be fully automated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2017 01:04 PM
This is my exact requirement roger (changes for RHEL patching).. Can you please elaborate on how you are doing?
Thanks,
Malaya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2018 05:52 AM
Hi Roger,
Do you have anymore info on your process because this is exactly what I need to do also?
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2018 12:36 PM
Hi Mike-
Our change board requires us to make a change request for every update/patch/hotfix we install. At the time, we were submitting those requests per server. This got to be quite tedious so we wrote a little Node app that submits the request for us.
For Windows servers, I use PDQ Inventory/Deploy to manage the systems. Inventory allows me to group servers in collections based on given criteria. For example, if an IIS critical update comes out, I select my IIS collection and submit the change request for those CI's using a PowerShell script--all from within PDQ Inventory.
I'll be happy to give you more details and/or help you get started.
-Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2018 08:56 AM
Hi Roger,
Thanks for the reply but adding in another third-party piece of software(PDQ Inventory/Deploy) to the mix in out of the question.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2018 07:42 AM
Better late than never, right? 🙂
Using PDQ is just the way I went about it. You absolutely do not need to use a 3rd party service. I'm still happy to help if you have any other questions about how I did it.
-Roger