Skip to content

Function: bulkPinUnpinProjectsAsync() ​

ts
function bulkPinUnpinProjectsAsync(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  taskId?: string;
}>;

Defined in: src/cloud/api/issuePanels.ts:23

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 ​

ParameterTypeDescription
clientClient-
parameters{ moduleId: string; projectList: object[]; }-
parameters.moduleIdstringThe moduleId of the Forge panel in the format ari:cloud:ecosystem::extension/{app-id}/{environment-id}/static/{module-key}
parameters.projectList?object[]The list of projects to pin or unpin the issue panel to or from.
options?RequestOptions-

Returns ​

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