Skip to content

Function: getPortalByProjectKey() ​

ts
function getPortalByProjectKey(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  description?: string;
  get_links?: {
   [key: string]: unknown;
     self?: string;
  };
  id?: number;
  name?: string;
  self?: string;
}>;

Defined in: src/serviceDeskServer/api/portals.ts:22

Get a portal for the project by key.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectKey: string; }-
parameters.projectKeystringThe key of the project.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; description?: string; get_links?: { [key: string]: unknown; self?: string; }; id?: number; name?: string; self?: string; }>