Open jason-winters opened 5 years ago
After some more testing I was able to determine that this error occurs if a user has previously existed and been deleted. On a brand new never before been on Jira User it works as expected. If I have a user Fred who leaves the company and is removed, then comes back this error is generated.
This seems to be a problem with Jira itself. I have created a support thread for this: https://community.atlassian.com/t5/Jira-questions/Internal-Server-Error-when-adding-a-user-which-existed-before/qaq-p/1099231
I recommend doing the New-JiraUser
in a try {} catch {}
block and check with Get-JiraUser
to see if it was successful
Seems to be a known Bug. https://jira.atlassian.com/browse/JRACLOUD-68249
Please vote for it ("Affected customers")
Voted it up since this is also affecting our team.
Add-JiraUser when used on Atlassian Cloud causes a powershell error, however the user is actually created in Jira.
All subsequent commands involving the newly created user also produce an error I.E. Get-JiraUser Add-JiraGroupMember etc
Yet the user is added to the groups
JiraPS Version 2.10.3 Powershell version 5.1.18362.113 OS Windows 10