When Remove-JiraGroupMember uses a [String] for -User, Get-JiraUser does not resolve properly resolve the input.
This is fixed by using -UserName instead of -InputObject on Get-JiraUser
Motivation and Context
closes #299
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] I have added Pester Tests that describe what my changes should do.
Description
When
Remove-JiraGroupMember
uses a[String]
for-User
,Get-JiraUser
does not resolve properly resolve the input. This is fixed by using-UserName
instead of-InputObject
onGet-JiraUser
Motivation and Context
closes #299
Types of changes
Checklist: