|
1 | 1 | /**
|
2 |
| - * Details of a user's active status, identifiers, name, and avatars as permitted by the user's Atlassian Account privacy settings. However, be aware of these exceptions:<ul><li>User record deleted from Atlassian: This occurs as the result of a right to be forgotten request. In this case, <code>displayName</code> provides an indication and other parameters have default values or are blank (for example, email is blank).</li><li>User record corrupted: This occurs as a results of events such as a server import and can only happen to deleted users. In this case, <code>accountId</code> returns <em>unknown</em> and all other parameters have fallback values.</li><li>User record unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback values.</li></ul> */ |
| 2 | + * Details of a user's active status, identifiers, name, and avatars as permitted by the user's Atlassian Account |
| 3 | + * privacy settings. However, be aware of these exceptions:<ul><li>User record deleted from Atlassian: This occurs as |
| 4 | + * the result of a right to be forgotten request. In this case, <code>displayName</code> provides an indication and |
| 5 | + * other parameters have default values or are blank (for example, email is blank).</li><li>User record corrupted: This |
| 6 | + * occurs as a results of events such as a server import and can only happen to deleted users. In this case, |
| 7 | + * <code>accountId</code> returns <em>unknown</em> and all other parameters have fallback values.</li><li>User record |
| 8 | + * unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback |
| 9 | + * values.</li></ul> |
| 10 | + */ |
3 | 11 | export interface BasicUser {
|
4 |
| - /** This property is deprecated in favor of <code>accountId</code> because of privacy changes. See the <a href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/">migration guide</a> for details. <br>The key of the user. */ |
| 12 | + /** |
| 13 | + * @deprecated |
| 14 | + * This property is deprecated in favor of <code>accountId</code> because of privacy changes. See the <a |
| 15 | + * href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/">migration |
| 16 | + * guide</a> for details. <br>The key of the user. |
| 17 | + */ |
5 | 18 | key?: string;
|
6 | 19 | /** The URL of the user. */
|
7 | 20 | self?: string;
|
8 |
| - /** This property is deprecated in favor of <code>accountId</code> because of privacy changes. See the <a href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/">migration guide</a> for details. <br>The username of the user. */ |
| 21 | + /** |
| 22 | + * @deprecated |
| 23 | + * This property is deprecated in favor of <code>accountId</code> because of privacy changes. See the <a |
| 24 | + * href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/">migration |
| 25 | + * guide</a> for details. <br>The username of the user. |
| 26 | + */ |
9 | 27 | name?: string;
|
10 | 28 | /** The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. */
|
11 | 29 | displayName?: string;
|
12 | 30 | /** Whether the user is active. */
|
13 | 31 | active?: boolean;
|
14 |
| - /** The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, <em>5b10ac8d82e05b22cc7d4ef5</em>. */ |
| 32 | + /** |
| 33 | + * The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, |
| 34 | + * <em>5b10ac8d82e05b22cc7d4ef5</em>. |
| 35 | + */ |
15 | 36 | accountId?: string;
|
16 | 37 | /** Details of a user's avatars. */
|
17 | 38 | avatarUrls?: {
|
|
0 commit comments