Function: getProjectTypeByKey()
ts
function getProjectTypeByKey(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
color?: string;
descriptionI18nKey?: string;
formattedKey?: string;
icon?: string;
key?: string;
}>;Defined in: src/cloud/api/projectTypes.ts:45
Returns a project type.
This operation can be accessed anonymously.
Permissions required: None.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { projectTypeKey: | string & object | "software" | "service_desk" | "business" | "product_discovery"; } | - |
parameters.projectTypeKey | | string & object | "software" | "service_desk" | "business" | "product_discovery" | The key of the project type. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; color?: string; descriptionI18nKey?: string; formattedKey?: string; icon?: string; key?: string; }>