AtlassianPS / JiraPS

PowerShell module to interact with Atlassian JIRA
https://AtlassianPS.org/module/JiraPS
MIT License
325 stars 131 forks source link

Issue creating users #392

Closed DavidHromyk closed 4 years ago

DavidHromyk commented 4 years ago

When attempting to create a new issue I receive the following. The odd thing is that it creates the user just fine, but when I go to fetch the data again in the same function I have written it cannot find the user. Was there something that changed recently? This worked a few months ago just fine.


Invoke-JiraMethod : The request failed. We're not sure what went wrong. Try again and if the problem 
persists, contact Jira support.
At C:\Users\david.hromyk\Documents\WindowsPowerShell\Modules\JiraPS\2.12.5\JiraPS.psm1:3970 char:23
+             $result = Invoke-JiraMethod @parameter
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (:) [Invoke-JiraMethod], RuntimeException
    + FullyQualifiedErrorId : InvalidResponse.Status500,Invoke-JiraMethod
DavidHromyk commented 4 years ago

Ah I see this https://github.com/AtlassianPS/JiraPS/issues/354. This is definitely happening with previously created users.

DavidHromyk commented 4 years ago

Confirmed that this doesn't happen with never before created users. I'll close this out and follow the other issue.