Skip to content

Commit

Permalink
Merge pull request #361 from lmf-mx/hotfix/fix-username-wildcard-search
Browse files Browse the repository at this point in the history
Hotfix/fix username wildcard search
  • Loading branch information
lipkau authored Jul 11, 2019
2 parents 1e49128 + 1b040e1 commit 9786aa0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion JiraPS/Public/Get-JiraUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function Get-JiraUser {
[CmdletBinding( DefaultParameterSetName = 'Self' )]
param(
[Parameter( Position = 0, Mandatory, ValueFromPipelineByPropertyName, ParameterSetName = 'ByUserName' )]
[ValidateNotNullOrEmpty()]
[AllowEmptyString()]
[Alias('User', 'Name')]
[String[]]
$UserName,
Expand Down
8 changes: 8 additions & 0 deletions docs/en-US/commands/Get-JiraUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ Get-JiraUser -UserName user1 -Exact

Returns information about user user1

### EXAMPLE 5

```powershell
Get-JiraUser -UserName ""
```

Returns information about all users. The empty string "" matches all users.

## PARAMETERS

### -UserName
Expand Down

0 comments on commit 9786aa0

Please sign in to comment.