I posted this in the Community forum, and @Zach suggested I post it here too…
I’ve started work on a PowerShell module to utilise the Freshservice API to manage tickets. I intend to add more functionality when I can, but at the moment it will work with the APIs concerned with tickets, conversations, requesters, agents, groups, service catalog items, custom objects, locations and departments.
I concentraed on getting it working with tickets first, adding in requesters, agents, groups, service catalog items and custom objects - but I see you’ve also covered areas I haven’t got to yet!
If you look at mine on Github, I’ve broken down the various modules into their own nested modules:
These mainly follow Fresh’s API documentation, though the requesters module also includes agents, roles and groups, whilst tickets also includes conversations.
The FreshAPIv2.psm1 module contains functions that make the GET/POST/PUT/DELETE calls to the API, with some error handling (e.g. waiting before resubmitting a 429 request), along with some other supporting functions.
Take a look and let me know what your thoughts are.
I am really liking this Module. We use it to update User objects in Freshservice to match users to their location. When will you get a chance to add the Asset management. I could really use that feature to manage assets. looking forward to see more modules.
Still chipping away at my module and hope to have it ready for release shortly and will update this thread. With Workspaces coming out, there will be changes to the APIs as well, so waiting for the documentation to be updated.
Appreciate any patience if anyone has been wondering about development efforts. Been a lot of work, but I’ve gotten almost every API endpoint in a Powershell Module. While PS 5.1 will work, highly recommend using VSCode + 7.x as you get errors from API validation and it supports attachments.
Have reported some bugs to Freshworks development and will put those in Github as I retest and confirm, but it’s only a handful of items. If you can assist with testing, provide feedback, would really appreciate any assistance. Also setup a Slack channel for discussions (invite on Github readme\docs).