jira.js
    Preparing search index...

    Function setUserProperty

    • Sets the value of the specified user's property. You can use this resource to store a custom data against the user identified by the key or by the id. The user who stores the data is required to have permissions to administer the user.

      Parameters

      • client: Client
      • parameters: {
            body: Record<string, any>;
            propertyKey: string;
            userKey?: string;
            username?: string;
        }
        • body: Record<string, any>
        • propertyKey: string

          The key of the user's property. The maximum length of the key is 255 bytes.

        • OptionaluserKey?: string

          Key of the user whose property is to be set

        • Optionalusername?: string

          Username of the user whose property is to be set

      • Optionaloptions: RequestOptions

      Returns Promise<void>