Skip to content

Commit

Permalink
Merge pull request #351 from mirrorgleam/mirrorgleam-patch-1
Browse files Browse the repository at this point in the history
Added -Exact flag to Get-JiraUser
  • Loading branch information
lipkau authored Apr 26, 2019
2 parents 947628c + 0a20161 commit 3c86746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JiraPS/Public/Invoke-JiraIssueTransition.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c86746

Please sign in to comment.