Files
kandev/docs/plans/entity-reference-composer/task-02-jira-provider.md
T
José Almeida 7de788ceed feat: add cross-integration entity references (#1862)
* feat: add cross-integration entity references

* fix(web): anchor entity reference menu to composer

* fix: keep Kandev tasks under @ mentions

* fix: address entity reference review findings

* test(e2e): use option role for prompt menu

* test(e2e): update passthrough mention roles

* fix: preserve queued references and paginate Azure PRs
2026-07-23 09:03:56 +01:00

1.4 KiB

id, title, status, wave, depends_on, plan, spec
id title status wave depends_on plan spec
02-jira-provider Jira mention provider completed 2
01-core-and-task-search
plan.md ../../specs/ui/entity-reference-composer.md

Task 02: Jira Mention Provider

Acceptance

  • Jira ticket projections preserve immutable upstream issue ID plus key/title/URL/site scope.
  • Plain text becomes backend-generated, escaped key-or-title JQL; callers cannot inject raw JQL.
  • Adapter enforces explicit workspace config and maps auth/rate/timeout/upstream failures safely.
  • Provider authorizer accepts only the configured workspace site origin/scope for search and submission.

Verification

cd apps/backend && go test ./internal/jira/... ./internal/mentions/...

Files likely touched

  • apps/backend/internal/jira/models.go
  • apps/backend/internal/jira/cloud_client.go
  • apps/backend/internal/jira/cloud_client_test.go
  • apps/backend/internal/jira/service_mentions.go
  • apps/backend/internal/jira/service_mentions_test.go
  • apps/backend/internal/mentions/provider_jira.go
  • apps/backend/internal/mentions/provider_jira_test.go

Dependencies

Task 01.

Inputs

Spec sources/security/failure requirements; SearchTicketsForWorkspace; Jira response conversion tests.

Output contract

Report identity and escaping behavior, files changed, exact tests, blockers, risks, and mark task/plan done.