We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbreeding/jira-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
parseIssueKeyFromUri.ts•320 B
/**
* Extracts the Jira issue key from a URI.
* @param uri The URI string (e.g., jira://instance/issue/KEY-123)
* @returns The extracted issue key or undefined if not found.
*/
export function parseIssueKeyFromUri(uri: string): string | undefined {
const match = uri.match(/issue\/([\w-]+)$/)
return match?.[1]
}