A collection of PowerShell scripts for interacting with the Jira API, emulating the patterns used in Zendesk-PowerShell.
Scripts in this repository require PowerShell 7.
Add ls <cloned folder> -filter "*.ps1" | %{import-module $_} to your PowerShell profile to load these functions.
The scripts use environment variables for authentication. You can set these in your session or use a dotenv file.
JiraUrl: Your Jira instance URL (e.g.,https://your-domain.atlassian.net)JiraUsername: Your Jira username (usually an email address)JiraApiToken: Your Jira API token
Archives a list of Jira issues.
Invoke-JiraIssueArchive -IssueIdsOrKeys @("PR-1", "1001", "PROJECT-2")