diff --git a/JiraPS/Public/Invoke-JiraIssueTransition.ps1 b/JiraPS/Public/Invoke-JiraIssueTransition.ps1 index e9f96d70..43cfa0b0 100644 --- a/JiraPS/Public/Invoke-JiraIssueTransition.ps1 +++ b/JiraPS/Public/Invoke-JiraIssueTransition.ps1 @@ -109,7 +109,7 @@ function Invoke-JiraIssueTransition { $validAssignee = $true } else { - if ($assigneeObj = Get-JiraUser -InputObject $Assignee -Credential $Credential) { + if ($assigneeObj = Get-JiraUser -InputObject $Assignee -Credential $Credential -Exact) { Write-Debug "[$($MyInvocation.MyCommand.Name)] User found (name=[$($assigneeObj.Name)],RestUrl=[$($assigneeObj.RestUrl)])" $assigneeString = $assigneeObj.Name $validAssignee = $true