Releases: flycastpartnersinc/FreshservicePS
0.1.4
Workspace Support:
Freshworks rolled out Workspaces to most Freshservice tenants in the last several months. This release added support for Workspaces that are available in the documentation:
Added cmdlet to Get Workspace information. NOTE: This is not published and was tested and validated in the API. Use at your own risk.**
- Get-FreshServiceWorkspace
Filter on Workspace_Id to get objects from a specific workspace(s):
- Get-FreshServiceAgent
- Get-FreshServiceAsset
- Get-FreshServiceTicket
- Get-FreshServiceChange
- Get-FreshServiceProblem
- Get-FreshServiceRelease
- Get-FreshServiceBusinessHour
- Get-FreshServiceSolutionCategory
- Get-FreshServiceCatalogCategory
- Get-FreshServiceCatalogItem
- Get-FreshServiceCustomObject
Workspace_Id parameter added to move items across workspaces:
- Set-FreshserviceTicket BUG
- Set-FreshserviceProblem
- Set-FreshserviceChange
- Set-FreshserviceRelease
- Set-FreshServiceAsset
Workspace_id parameter added to create item in workspace:
- New-FreshServiceAsset
- New-FreshServiceTicket
- New-FreshServiceChange
- New-FreshServiceProblem
- New-FreshServiceRelease
Workspace_Ids and License_Type (i.e. Business or IT) parameter added support business user assignment(s) and workspace assignment to agents. NOTE: This is not published and was tested and validated in the API. Use at your own risk.
- New-FreshServiceAgent
- Set-FreshServiceAgent
Additional Updates:
Connection
Updated the New-FreshserviceConnection to only require tenant and apikey. If a friendly name is not provided, it will use the tenant name. The first connection will be set to the default. These settings are to make connection simple for new users. Converted the Default parameter from Boolean to Switch.
Bug Fixes:
Filter Support
The default pagination (i.e. leveraging header link) was not working as there is no link returned to indicate a next page for filters, so only the first page was returned. Added looping constructs to return pages until content is null or max pages are returned for that method. Here are the updated cmdlets:
- Get-FreshServiceAgent
- Get-FreshServiceAsset
- Get-FreshserviceTicket
- Get-FreshServiceProjectTask
- Get-FreshServiceRequester
Ticket Status
#8
Originally Freshservice did not support custom statuses and there was a validation done in the cmdlet (e.g. ValidateSet). Removed the validation to allow custom statuses for tickets. Current valid values can be viewed with Get-FSTicket -Fields.
Support UTF-8 Charset
#7
Updated Invoke-FreshserviceRestMethod to append UTF-8 header and set 'application/json; charset=utf-8' and default ContentType.
Use Basic Parsing
#5
Updated Invoke-FreshserviceRestMethod to include -UseBasicParsing for Invoke-WebRequest for all calls to support backwards compatibility for Server Core and older PS versions.