Skip to content

Add Jira and Bitbucket integrations (settings, link, sync) - #17

Merged
Modsofthenation merged 2 commits into
mainfrom
cursor/jira-bitbucket-integrations-e5b1
Jul 25, 2026
Merged

Modsofthenation merged 2 commits into
mainfrom
cursor/jira-bitbucket-integrations-e5b1

Conversation

@Modsofthenation

Copy link
Copy Markdown
Owner

Summary

Adds first-class Jira Cloud and Bitbucket Cloud integrations for the solo EM workbench.

Settings → Integrations

  • Enable each provider, store site/workspace + auth identity
  • API token / app password encrypted with the workspace secret (same pattern as AI keys)
  • Test connection + Sync all linked people

Person page

  • Search remote users and link Jira account ID / Bitbucket UUID to a local person
  • Sync linked accounts pulls:
    • Jira: issues assigned in the last ~180 days (summary, status, type, priority, project, resolved date, browse URL)
    • Bitbucket: merged PRs across workspace repos (title, repo, comments/tasks, merged date, HTML URL)
  • Upserts into achievements with source_provider / external_id / external_url / metadata JSON so they stay citable on the writing desk and in AI digests

Verify

  • pnpm test (includes mocked Jira/Bitbucket client tests)
  • Configure real tokens in Settings, link a person, Sync

Notes / limits (MVP)

  • Bitbucket sync walks up to ~25 repos × merged PRs for the linked author (caps apply)
  • Jira uses Cloud REST search (Basic email+token)
  • No webhooks yet — on-demand sync only
  • Explicit Atlassian cloud egress when you sync
Open in Web Open in Cursor 

cursoragent and others added 2 commits July 25, 2026 11:35
Configure each provider under Settings (encrypted tokens), link remote
accounts on the person page, and sync Jira issues / merged Bitbucket PRs
into dossier achievements with URLs and metadata for writing-desk cites.

Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
@Modsofthenation
Modsofthenation marked this pull request as ready for review July 25, 2026 11:37
@Modsofthenation
Modsofthenation merged commit cb2def0 into main Jul 25, 2026
2 of 4 checks passed
@cursor
cursor Bot deleted the cursor/jira-bitbucket-integrations-e5b1 branch August 12, 2026 11:36
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.

2 participants