jira.js
    Preparing search index...

    Function updateReadOnlyMode

    • Enables or disables Jira read-only mode.

      Available since Jira Data Center 11.3, and in 10.3 LTS.

      Parameters

      • client: Client
      • parameters: { enabled?: boolean; endTime?: string; message?: string; timeZone?: string }
        • Optionalenabled?: boolean

          Whether read-only mode should be enabled.

        • OptionalendTime?: string

          The estimated end time as a local date-time (no offset). Omit to leave unchanged; send an empty string to clear it.

        • Optionalmessage?: string

          The banner message shown to users while read-only mode is active. Omit to leave it unchanged; send an empty string to reset it to the default.

        • OptionaltimeZone?: string

          The time zone id the estimated end time is expressed in. Omit to leave unchanged; send an empty string to clear it.

      • Optionaloptions: RequestOptions

      Returns Promise<void>