orca/src/main/jira
Jinjing 74563b6498
feat(jira): link Jira issues from the workspace create dialog (#11296)
* Link Jira issues from workspace create dialog

Add Jira issue linking to workspace creation, matching existing GitHub and Linear workflows. Users can paste Jira issue URLs in the smart name field to auto-populate workspace names and link the issue to the created workspace/worktree.

Linked Jira issues appear on workspace cards via the new 'jira-issue' card property. Implements cancellable searches and summary reads to prevent stalled requests from blocking the shared Jira pool. Persists paired issue + source context metadata with validation of provider/site identity.

Fixes git-username rate-limit handling to reject malformed JSON responses so garbage never becomes branch prefixes.

* feat(jira): link issues during workspace creation

- Display linked Jira issues on worktree cards
- Fetch issue summaries and timestamps via Jira API
- Gate Jira linking behind runtime capability check
- Preserve user-typed names during async lookups

* Enforce git check-ref-format rules in login validation

Extend isBranchSafeHostedLogin to reject usernames that git rejects as
invalid branch components: trailing dots, consecutive dots, and .lock
suffix. Prevents invalid branch names from login usernames.

* Enforce filesystem filename cap for branch-safe logins

Loose refs store logins as single filenames, so the real constraint is the
255-byte filesystem cap, not git check-ref-format rules. This allows longer
provider-agnostic logins while staying platform-safe.
2026-07-29 19:50:18 -07:00
..
adf-markdown.test.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
adf-markdown.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
adf-media-destination.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
attachment-discovery.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
attachment-image-cache.test.ts fix: stop notification loss, credentialed cache reuse, and clipboard clobber (#11230) 2026-07-28 17:38:31 -07:00
attachment-image-cache.ts fix: stop notification loss, credentialed cache reuse, and clipboard clobber (#11230) 2026-07-28 17:38:31 -07:00
attachment-images.test.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
attachment-images.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
attachment-meta.ts fix(jira): render issue description/comment images with lightbox (#8938) 2026-07-27 15:34:20 -07:00
client.test.ts feat(jira): link Jira issues from the workspace create dialog (#11296) 2026-07-29 19:50:18 -07:00
client.ts feat(jira): link Jira issues from the workspace create dialog (#11296) 2026-07-29 19:50:18 -07:00
issues.test.ts feat(jira): link Jira issues from the workspace create dialog (#11296) 2026-07-29 19:50:18 -07:00
issues.ts feat(jira): link Jira issues from the workspace create dialog (#11296) 2026-07-29 19:50:18 -07:00
jira-issue-summary-timeout.test.ts feat(jira): link Jira issues from the workspace create dialog (#11296) 2026-07-29 19:50:18 -07:00
jira-search-abort.test.ts feat(jira): link Jira issues from the workspace create dialog (#11296) 2026-07-29 19:50:18 -07:00