Skip to content

Jira and GitHub Issues importers #229

Closed as not planned
Closed as not planned

Description

@imshashank

Getting off a paid tracker should take minutes. The roadmap says so, and it is one of the strongest arguments for Orbit existing at all.

Right now:

  • Plane works. bun run db:import-plane, built on packages/db/src/import/plane-source.ts and plane-mapping.ts
  • Linear is half done. linear-source.ts parses and validates an export and nothing imports it. Tracked in #127
  • Jira does not exist
  • GitHub Issues does not exist
  • Asana, Trello, Notion, Monday, Shortcut, YouTrack, Basecamp do not exist

This issue covers Jira and GitHub Issues, which are the two that matter most after Linear.

Why these two

Jira is where most of the people looking for an alternative are coming from, by a wide margin. It is also the hardest, because Jira's model is bigger than Orbit's: custom fields, issue types, workflows with transitions and conditions, components, versions, epics as a link type, and sub-tasks as a distinct entity. A faithful import is impossible. A useful one is not.

GitHub Issues is the easiest and the most immediately useful for open source projects, which are a natural audience. The API is good, the model is small, and the GitHub App integration already exists with authentication solved.

The shape of the work is already decided

This is the reason these are approachable. packages/db/src/import/ establishes the pattern:

  • plane-source.ts parses and validates an export with Zod
  • plane-mapping.ts maps it to Orbit's model
  • rows.ts defines ImportRows, the intermediate representation
  • index.ts wires a source to the importer
  • verify.ts checks the result
  • assets.ts and markdown.ts handle attachments and body conversion
  • surgical.ts and combine.ts handle partial and combined imports

A new importer produces ImportRows and everything downstream is already written. Copy the Plane path.

What a good importer does

  • Reports. What came across, what was converted, what was skipped and why. An import that silently drops a concept, the way modules currently are, is worse than one that refuses
  • Is idempotent, or at least resumable. A large import that fails at 80 percent must not require starting again, and running it twice must not duplicate everything
  • Preserves identifiers where it can. People have links to JIRA-1234 in a hundred places. issue_identifier_alias in packages/db/src/schema/work.ts exists for exactly this and should be used
  • Maps users. By email, with a report of who could not be matched and what happened to their work
  • Converts markup. Jira uses its own markup. GitHub uses markdown, which is nearly free
  • Brings attachments. assets.ts already handles this for Plane
  • Is tested. packages/db/tests/import/ with a fixture export

For Jira specifically, decide and document

  • Epics map to what: projects, milestones, or parent issues. Parent issues is probably right since Orbit has issue.parent_id
  • Sub-tasks map to sub-issues
  • Custom fields have nowhere to go until #128 lands. Until then, appending them to the description is honest and lossy, and the report has to say so
  • Workflow transitions and conditions do not map. Say so
  • Components map to labels

Each importer is independent

Take one. Say which on this thread. Jira is a substantial piece of work and worth splitting further if two people want it.

Files

  • packages/db/src/import/
  • packages/db/package.json and the root package.json for the scripts
  • packages/db/tests/import/
  • docs/, which has no importer documentation at all right now

Activity

  1. added
    enhancement
    help wanted
    p1 high
    area: database
    roadmap
    on Aug 8, 2026
  2. moved this to Backlog in Orbit roadmapon Aug 8, 2026
  3. added
    size: extra large
    points: 13
    on Aug 8, 2026
  4. imshashank commented on Aug 8, 2026

    @imshashank
    ContributorAuthor

    Distinct from #224, though both involve GitHub Issues.

    This issue is a one time import: read an export or the API once, produce ImportRows, done. #224 is ongoing bidirectional sync, with loop prevention, conflict resolution and state mapping, which is a much larger and riskier piece of work.

    Somebody could reasonably build the GitHub Issues importer here as a first step toward #224, and that is a good order. Say on both threads if you are doing that.

    The Linear importer in #127 is the other half finished one, and plane-source.ts is the model all of these copy.

  5. imshashank commented on Aug 15, 2026

    @imshashank
    ContributorAuthor

    Correcting the status table at the top, which is no longer accurate.

    This issue says:

    • Plane works. bun run db:import-plane, built on packages/db/src/import/plane-source.ts and plane-mapping.ts

    That is no longer true. #287 quarantined the importer tooling for the open source release and removed the runner along with every import script. Verified on 3ba32cb:

    • db:import-plane is gone from package.json, and import:plane and import:verify are gone from packages/db/package.json.
    • packages/db/src/import/index.ts, combine.ts, combined.ts, surgical.ts and verify.ts were deleted.
    • What survives is parsing and mapping only: plane-source.ts, plane-mapping.ts, linear-source.ts, build-project.ts, rows.ts, importable.ts, markdown.ts and assets.ts. None of it is reachable from a command.

    So the corrected state is:

    What this changes for this issue. The argument that Jira and GitHub Issues are the next two after Linear still holds, and nothing about the mapping problems this issue describes has changed. What has changed is that no importer can land until there is a runner to land it on, so that is now a shared prerequisite for this issue and #127 rather than something either can assume.

    Worth deciding at the epic level rather than here: whether the runner is rebuilt as a general import path, and what the quarantine in #287 was actually protecting against, because a new runner must not reintroduce it. Anybody planning to pick up an importer should read that pull request first.

    The "getting off a paid tracker should take minutes" claim in docs/roadmap.md should probably also be reviewed against this, since no tracker can currently be imported at all.

  6. moved this from Backlog to Needs design in Orbit roadmapon Aug 25, 2026
  7. added
    needs design
    on Aug 25, 2026
  8. imshashank commented on Sep 6, 2026

    @imshashank
    ContributorAuthor

    Closing until #359 exists. Nothing here can land without the shared runner, and the Jira and GitHub mapping notes above are preserved in this thread. Reopen the day the runner merges; the order is still Linear (#127), then GitHub Issues, then Jira.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: databaseenhancementhelp wantedneeds designp1 highpoints: 13roadmapsize: extra large

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions