fix(tools): add Atlassian error extractor to all Jira, JSM, and Confluence tools

Wire up the existing `atlassian-errors` error extractor to all 95 Atlassian
tool configs so the executor surfaces meaningful error messages instead of
generic status codes. Also fix the extractor itself to handle all three
Atlassian error response formats: `errorMessage` (JSM), `errorMessages`
array (Jira), and `message` (Confluence).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Waleed Latif
2026-04-09 15:08:44 -07:00
parent bce638dd75
commit f68f233c44

View File

@@ -74,6 +74,10 @@ const ERROR_EXTRACTORS: ErrorExtractorConfig[] = [
if (errorInfo?.data?.message) {
return errorInfo.data.message
}
// Internal proxy route error field fallback
if (typeof errorInfo?.data?.error === 'string') {
return errorInfo.data.error
}
return undefined
},
},