jira.js
    Preparing search index...

    Function addRequestParticipants

    • This method adds participants to a customer request.

      Permissions required: Permission to manage participants on the customer request.

      Note, participants can be added when creating a customer request using the request resource, by defining the participants in the requestParticipants field.

      Parameters

      • client: Client
      • parameters: { accountIds?: string[]; issueIdOrKey: string; usernames?: string[] }
        • OptionalaccountIds?: string[]

          List of users, specified by account IDs, to add to or remove as participants in the request.

        • issueIdOrKey: string

          The ID or key of the customer request to have participants added.

        • Optionalusernames?: string[]

          This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details. Use accountIds instead.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              _expands?: string[];
              _links?: {
                  base?: string;
                  context?: string;
                  next?: string;
                  prev?: string;
                  self?: string;
                  [key: string]: unknown;
              };
              isLastPage?: boolean;
              limit?: number;
              size?: number;
              start?: number;
              values?: {
                  _links?: {
                      avatarUrls?: Record<string, any>;
                      jiraRest?: string;
                      self?: string;
                      [key: string]: unknown;
                  };
                  accountId?: string;
                  active?: boolean;
                  displayName?: string;
                  emailAddress?: string;
                  key?: string;
                  name?: string;
                  timeZone?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >