@@ -15,8 +15,9 @@ type UserService struct {
15
15
16
16
// User represents a JIRA user.
17
17
type User struct {
18
- Self string `json:"self,omitempty" structs:"self,omitempty"`
19
- AccountID string `json:"accountId,omitempty" structs:"accountId,omitempty"`
18
+ Self string `json:"self,omitempty" structs:"self,omitempty"`
19
+ AccountID string `json:"accountId,omitempty" structs:"accountId,omitempty"`
20
+ AccountType string `json:"accountType,omitempty" structs:"accountType,omitempty"`
20
21
// TODO: name & key are deprecated, see:
21
22
// https://developer.atlassian.com/cloud/jira/platform/api-changes-for-user-privacy-announcement/
22
23
Name string `json:"name,omitempty" structs:"name,omitempty"`
@@ -27,6 +28,7 @@ type User struct {
27
28
DisplayName string `json:"displayName,omitempty" structs:"displayName,omitempty"`
28
29
Active bool `json:"active,omitempty" structs:"active,omitempty"`
29
30
TimeZone string `json:"timeZone,omitempty" structs:"timeZone,omitempty"`
31
+ Locale string `json:"locale,omitempty" structs:"locale,omitempty"`
30
32
ApplicationKeys []string `json:"applicationKeys,omitempty" structs:"applicationKeys,omitempty"`
31
33
}
32
34
0 commit comments