jira.js
    Preparing search index...

    Function addActorUsers

    • Adds an actor (user or group) to a project role. For user actors, their usernames should be used.

      Parameters

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

          The groups to add to the role.

        • id: number

          The project role id

        • projectIdOrKey: string

          The project id or project key

        • Optionaluser?: string[]

          The usernames to add to the role.

      • Optionaloptions: RequestOptions

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