Skip to content

Commit

Permalink
Merge pull request #509 from jschlackman/issue-508
Browse files Browse the repository at this point in the history
Fixed example and improved documentation on `-Properties` hashtable for `Set-JiraUser`
  • Loading branch information
lipkau authored Jun 11, 2024
2 parents 3028162 + bd910ef commit b6666ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/en-US/commands/Set-JiraUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The original value is overridden.
### EXAMPLE 2

```powershell
Set-JiraUser -User user2 -Properties @{EmailAddress='[email protected]';DisplayName='User 2'}
Set-JiraUser -User user2 -Property @{emailAddress='[email protected]';displayName='User 2'}
```

This example modifies a user's properties using a hashtable.
Expand Down Expand Up @@ -124,6 +124,8 @@ Accept wildcard characters: False
Hashtable (dictionary) of additional information to set.
Property names defined in the hashtable are strictly case-sensitive and must match the exact format defined in the [JIRA API schema](https://docs.atlassian.com/software/jira/docs/api/REST/latest/#api/2/user-updateUser), which typically uses camel case. For example, "name" and "displayName" will work correctly when passed in the hashtable but "Name" and "DisplayName" do not.
```yaml
Type: Hashtable
Parameter Sets: ByHashtable
Expand Down

0 comments on commit b6666ad

Please sign in to comment.