Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with New-JiraIssue cmdlet after Jira Update (JIRA Service Management Application v5.4.12, Jira V9.4.12) #490

Open
christiangemesi opened this issue Nov 29, 2023 · 0 comments

Comments

@christiangemesi
Copy link

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:

New-JiraIssue -Project PERS -IssueType Personalisierung -Credential $Cred -Summary 'Test issue from PowerShell'

Error Message:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant