Skip to content

Variable: UserDetailsSchema

ts
const UserDetailsSchema: ZodObject<{
  accountId: ZodOptional<ZodString>;
  accountType: ZodOptional<ZodString>;
  active: ZodOptional<ZodBoolean>;
  avatarUrls: ZodOptional<ZodObject<{
     16x16: ZodOptional<ZodURL>;
     24x24: ZodOptional<ZodURL>;
     32x32: ZodOptional<ZodURL>;
     48x48: ZodOptional<ZodURL>;
  }, $loose>>;
  displayName: ZodOptional<ZodString>;
  emailAddress: ZodOptional<ZodString>;
  self: ZodOptional<ZodString>;
  timeZone: ZodOptional<ZodString>;
}, $loose>;

Defined in: src/agile/models/userDetails.ts:14

User details permitted by the user's Atlassian Account privacy settings. However, be aware of these exceptions:*

User record deleted from Atlassian: This occurs as the result of a right to be forgotten request. In this case, displayName provides an indication and other parameters have default values or are blank (for example, email is blank).* 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, accountId returns unknown and all other parameters have fallback values.* User record unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback values.