jira.js
    Preparing search index...

    Function setPreference

    • Sets preference of the currently logged in user. Preference key must be provided as input parameters (key). Value must be provided as post body. If key or value parameter is not provided - status code 404. If preference is set - status code 204.

      Parameters

      • client: Client
      • parameters: { body?: string; key?: string }
        • Optionalbody?: string
        • Optionalkey?: string

          Key of the preference to be set.

      • Optionaloptions: RequestOptions

      Returns Promise<void>