JsmOperations
0.2.0
PowerShell module for the Atlassian Jira Service Management (JSM) Operations REST API (formerly Opsgenie) - manage alerts, on-call schedules, and teams from PowerShell.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) Trent Blackburn. All rights reserved.
Package Details
Author(s)
- Trent Blackburn
Tags
Functions
Close-JsmAlert Confirm-JsmAlert Connect-JsmService Disconnect-JsmService Get-JsmAlert Get-JsmConnection
PSEditions
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0] - 2026-10-07
### Added
- `-IdentifierType` parameter (`id`, `tiny`, `alias`; default `id`) on `Get-JsmAlert -Id`, `Close-JsmAlert`, and `Confirm-JsmAlert`. A tinyId (the number shown in the JSM UI) or an integration alias is resolved to the alert UUID before the API call, because the JSM Cloud API only addresses alerts by UUID ([#35](https://github.com/tablackburn/JsmOperations/issues/35)).
- Aliases resolve for closed alerts too: when the `/alerts/alias` endpoint (open alerts only) returns 404, the lookup falls back to an `alias:` search.
- tinyIds are reused over time and aliases are only unique among open alerts. When several alerts match, the single non-closed alert is used; otherwise the most recently created is used and a warning names it. Pass the UUID to target a specific alert.
### Fixed
- Passing a tinyId to `Get-JsmAlert -Id`, `Close-JsmAlert`, or `Confirm-JsmAlert` returned 404 even though the help described `-Id` as accepting a tinyId. Use `-IdentifierType tiny` ([#35](https://github.com/tablackburn/JsmOperations/issues/35)).
FileList
- JsmOperations.nuspec
- JsmOperations.psd1
- JsmOperations.psm1
- Private\Invoke-JsmApi.ps1
- Private\Resolve-JsmAlertId.ps1
- Public\Close-JsmAlert.ps1
- Public\Confirm-JsmAlert.ps1
- Public\Connect-JsmService.ps1
- Public\Disconnect-JsmService.ps1
- Public\Get-JsmAlert.ps1
- Public\Get-JsmConnection.ps1
- en-US\JsmOperations-help.xml
- en-US\about_JsmOperations.help.help.txt
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 (current version) | 23 | 10/7/2026 |
| 0.1.0 | 76 | 5/10/2026 |