@aashari/mcp-server-atlassian-jira
Version:
Node.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracki
53 lines (52 loc) • 1.6 kB
TypeScript
/**
* Default values for pagination across the application.
* These values should be used consistently throughout the codebase.
*/
/**
* Default page size for all list operations.
* This value determines how many items are returned in a single page by default.
*/
export declare const DEFAULT_PAGE_SIZE = 25;
/**
* Default values for project operations
*/
export declare const PROJECT_DEFAULTS: {
/**
* Whether to include project components by default
*/
INCLUDE_COMPONENTS: boolean;
/**
* Whether to include project versions by default
*/
INCLUDE_VERSIONS: boolean;
};
/**
* Default values for issue operations
*/
export declare const ISSUE_DEFAULTS: {
/**
* Whether to include issue fields by default
*/
INCLUDE_FIELDS: boolean;
/**
* Whether to include issue changelog by default
*/
INCLUDE_CHANGELOG: boolean;
/**
* Whether to include issue transitions by default
*/
INCLUDE_TRANSITIONS: boolean;
};
/**
* Apply default values to options object.
* This utility ensures that default values are consistently applied.
*
* @param options Options object that may have some values undefined
* @param defaults Default values to apply when options values are undefined
* @returns Options object with default values applied
*
* @example
* const options = applyDefaults({ limit: 10 }, { limit: DEFAULT_PAGE_SIZE, includeDetails: true });
* // Result: { limit: 10, includeDetails: true }
*/
export declare function applyDefaults<T extends object>(options: Partial<T>, defaults: Partial<T>): T;