I'm currently facing an issue with a PowerShell script that interacts with our Reservation API and creates new Jira issues using the New-JiraIssue cmdlet. Since the recent Jira update, I'm encountering the following error:
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: You must specify an object for the Get-Member cmdlet.
Interestingly, the following code snippet works perfectly fine:
$JQLQuery = 'project = Personalisierung AND status != Abgeschlossen AND status != Zurückgestellt'
$Issues = Get-JiraIssue -Query $JQLQuery -Credential $Credential
Write-Host $Issues # Outputs a list of issues
It seems to be related to the New-JiraIssue cmdlet specifically after the recent Jira update.
I'm currently facing an issue with a PowerShell script that interacts with our Reservation API and creates new Jira issues using the New-JiraIssue cmdlet. Since the recent Jira update, I'm encountering the following error:
Problem very simplified:
Error Message:
Interestingly, the following code snippet works perfectly fine:
It seems to be related to the New-JiraIssue cmdlet specifically after the recent Jira update.