Skip to main content
Glama

Backlog MCP Server

customFields.ts684 B
export type CustomFieldInput = { id: number; value: string | number | string[]; otherValue?: string; }; /** * Converts Backlog-style customFields array into proper payload format */ export function customFieldsToPayload( customFields: CustomFieldInput[] | undefined ): Record<string, string | number | string[] | undefined> { if (customFields == null) { return {}; } const result: Record<string, string | number | string[] | undefined> = {}; for (const field of customFields) { result[`customField_${field.id}`] = field.value; if (field.otherValue) { result[`customField_${field.id}_otherValue`] = field.otherValue; } } return result; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nulab/backlog-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server