jira.js
    Preparing search index...

    Function setDefaultShareScope

    • Sets the default sharing for new filters and dashboards for a user.

      Permissions required: Permission to access Jira.

      Parameters

      • client: Client
      • parameters: { scope: string & {} | "GLOBAL" | "AUTHENTICATED" | "PRIVATE" }
        • scope: string & {} | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"

          The scope of the default sharing for new filters and dashboards:

          • AUTHENTICATED Shared with all logged-in users.
          • GLOBAL Shared with all logged-in users. This shows as AUTHENTICATED in the response.
          • PRIVATE Not shared with any users.
      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              scope: string & {}
              | "GLOBAL"
              | "AUTHENTICATED"
              | "PRIVATE";
              [key: string]: unknown;
          },
      >