jira.js
    Preparing search index...

    Function assignOrganizationRole

    • Assign an organization-level role to a user. These are roles that have organization-wide privileges, like organization admin.

      This operation follows eventual consistency. Changes may take up to 30 seconds to be reflected after the operation is performed.

      Parameters

      • client: Client
      • parameters: { orgId: string; role: string & {} | "atlassian/org-admin"; userId: string }
        • orgId: string

          Your organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.

        • role: string & {} | "atlassian/org-admin"
        • userId: string

          Every user has a unique ID. Find a user’s account ID by using the Get users endpoint.

      • Optionaloptions: RequestOptions

      Returns Promise<void>