Files
kandev/docs/plans/entity-reference-composer/task-02-jira-provider.md
T
2026-08-24 11:09:03 +00: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/requirements/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.