jira.js
    Preparing search index...

    Function addProjectRoleActorsToRole

    • Adds default actors to the given role. The request data should contain a list of usernames or a list of groups to add.

      Parameters

      • client: Client
      • parameters: { group?: string[]; id: number; user?: string[] }
        • Optionalgroup?: string[]
        • id: number

          The role id

        • Optionaluser?: string[]
      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              actors?: { avatarUrl?: string; name?: string; [key: string]: unknown }[];
              [key: string]: unknown;
          },
      >