jira.js
    Preparing search index...

    Function bulkPinUnpinProjectsAsync

    • Bulk pin or unpin an issue panel (added by a Forge app) to or from multiple projects.

      The operation runs asynchronously. The response includes a task ID - use the Get task endpoint to check progress.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: {
            moduleId: string;
            projectList: {
                action: string & {} | "PIN" | "UNPIN";
                projectIdOrKey: string;
                [key: string]: unknown;
            }[];
        }
        • moduleId: string

          The moduleId of the Forge panel in the format ari:cloud:ecosystem::extension/{app-id}/{environment-id}/static/{module-key}

        • projectList: {
              action: string & {} | "PIN" | "UNPIN";
              projectIdOrKey: string;
              [key: string]: unknown;
          }[]

          The list of projects to pin or unpin the issue panel to or from.

      • Optionaloptions: RequestOptions

      Returns Promise<{ taskId?: string; [key: string]: unknown }>