Skip to content

feat: multi-server Jira integration with enhanced issue hierarchy - #9

Merged
MrCheater merged 6 commits into
mainfrom
feat/multi-jira
Aug 5, 2026
Merged

feat: multi-server Jira integration with enhanced issue hierarchy#9
MrCheater merged 6 commits into
mainfrom
feat/multi-jira

Conversation

@MrCheater

Copy link
Copy Markdown
Contributor

Summary of Changes

Main Feature: Multi-server Jira support — the codebase now supports connecting to multiple Jira servers simultaneously instead of a single server.

Key Changes:

Jira Package (packages/sources/jira):

  • Refactored JiraClientContext to use servers: JiraServerSettings[] array instead of single jiraHost/jiraToken
  • Added publicHost option for displaying a public-facing Jira host
  • New API methods: getPlannedEndField, getChangeTypeField, getInitiativeClassificationField, getServers, resolveCustomFields
  • All API methods (search, smartSearch, getEpicField, etc.) now iterate over all configured servers and deduplicate results
  • New utils: getPublicJiraHost for resolving the public host
  • Enhanced JiraIssueHierarchyItem with: status, assignee, plannedEnd, epic, initiativeClassification, changeType
  • Updated getUserActivity to support actor field and improved event reporting

GitLab Package (packages/sources/gitlab):

  • Updated to use new multi-server Jira API (jiraServers array instead of single host/token)
  • E2E tests updated to configure multiple Jira servers

Utils Package (packages/sources/utils):

  • New UnprocessableError class for non-retryable 4xx errors (400, 404, 422)
  • Updated withRetry to not retry on UnprocessableError
  • Removed @types/pg dependency

Add TypeScript and rimraf as devDependencies for Jira, GitLab, and Utils sources.
Remove unused @types/pg from root package.json.
- Add UnprocessableError class for specific HTTP error codes
- Update withRetry to break loop on UnprocessableError
- Throw UnprocessableError for 400, 404, 422 status codes
…fields

- Replace single-host context with multi-server architecture
- Introduce `resolveCustomFields` with caching mechanism
- Add support for custom fields: Epic, Planned End, Change Type, Initiative Classification
- Update LLM reports to include new fields and hierarchy
- Remove deprecated `getStateFromContext` utility
- Refactor search to handle multiple servers and deduplicate results
Refactor Gitlab client to accept an array of Jira server configurations instead of a single host/token pair. Update types, API context, and LLM report generation to handle multiple Jira instances and a public Jira host.
@MrCheater
MrCheater merged commit d001c99 into main Aug 5, 2026
4 checks passed
@MrCheater
MrCheater deleted the feat/multi-jira branch August 5, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant