feat: add epic support to get_record#21
Open
BeyondRoadmap wants to merge 1 commit intoaha-develop:mainfrom
Open
feat: add epic support to get_record#21BeyondRoadmap wants to merge 1 commit intoaha-develop:mainfrom
BeyondRoadmap wants to merge 1 commit intoaha-develop:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
get_recordcurrently supports features (DEVELOP-123) and requirements(
ADT-123-1) but rejects epic references (DCOMMS-E-157) with anInvalidParamserror.search_documentswithsearchableType: "Epic"already works and returns valid epic references — but there's no way to
fetch their content.
This PR adds epic support to
get_recordso references likeDCOMMS-E-157and
CLAIMST-E-474resolve to their name and description body.Changes
src/types.ts— addEPIC_REF_REGEXandEpicResponseinterfacesrc/queries.ts— addgetEpicQueryusing theepic(id)GraphQL resolversrc/handlers.ts— import epic types/query, add epic branch inhandleGetRecordsrc/index.ts— updateget_recorddescription to mention epicsNotes
PRODUCT-123(digits only after hyphen)PRODUCT-123-1(two numeric segments)PRODUCT-E-123(literalEsegment)search_documentswithsearchableType: "Epic"already works; thiscloses the gap between finding an epic and reading it
Closes #20