You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2026. It is now read-only.
get_record rejects epic reference numbers with an InvalidParams error:
get_record({ reference: "DCOMMS-E-157" })
// → "Invalid reference number format. Expected DEVELOP-123 or ADT-123-1"
Expected behavior
Epic references (PRODUCT-E-123) should resolve the same way features and
requirements do — returning the epic's name and description body.
Current workaround
search_documents with searchableType: "Epic" already works and returns
valid epic references, but only name/URL metadata — not the body content.
There is no way to read an epic's description through the current MCP tools.
Proposed fix
Add EPIC_REF_REGEX = /^([A-Z][A-Z0-9]*)-E-(\d+)$/ to types.ts
Add EpicResponse interface to types.ts
Add getEpicQuery to queries.ts (mirrors getFeatureQuery using the epic(id) GraphQL resolver)
Add epic branch in handleGetRecord in handlers.ts
Update get_record description in index.ts
The regex does not conflict with existing patterns — features use PRODUCT-123 (digits only), requirements use PRODUCT-123-1 (two numeric segments), and epics use PRODUCT-E-123 (literal E segment).
Happy to submit a PR if this approach looks good to maintainers.
Bug / Feature Request
get_recordrejects epic reference numbers with anInvalidParamserror:get_record({ reference: "DCOMMS-E-157" })
// → "Invalid reference number format. Expected DEVELOP-123 or ADT-123-1"
Expected behavior
Epic references (
PRODUCT-E-123) should resolve the same way features andrequirements do — returning the epic's name and description body.
Current workaround
search_documentswithsearchableType: "Epic"already works and returnsvalid epic references, but only name/URL metadata — not the body content.
There is no way to read an epic's description through the current MCP tools.
Proposed fix
EPIC_REF_REGEX = /^([A-Z][A-Z0-9]*)-E-(\d+)$/totypes.tsEpicResponseinterface totypes.tsgetEpicQuerytoqueries.ts(mirrorsgetFeatureQueryusing theepic(id)GraphQL resolver)handleGetRecordinhandlers.tsget_recorddescription inindex.tsThe regex does not conflict with existing patterns — features use
PRODUCT-123(digits only), requirements usePRODUCT-123-1(two numeric segments), and epics usePRODUCT-E-123(literalEsegment).Happy to submit a PR if this approach looks good to maintainers.