Skip to Content

GitHub Issues

A project can keep its tickets in a GitHub repo instead of Tares. One repo and one issue label pick the issues, and those issues are the project’s tickets. Tares creates them when the spec is written, opens, labels and closes them as the crew works, and reads the repo about once a minute so a change made on GitHub shows on Tares too. Sessions need no gh for any of it.

Set up

  1. Connect GitHub under Integrations, Code, with the GitHub App or a personal token that can write issues (GitHub).
  2. Choose GitHub Issues under Integrations, Tickets, or for one project only. The form asks for the repo (owner/name), optionally the name of the GitHub credential to use (left empty, every stored one is tried), and the issue label (left empty, tares: followed by the project’s name).
  3. Plan the project. When the spec asks where the tickets live, say GitHub Issues and name the repo. The spec session links the project with the MCP tool link_tickets, then writes the milestones and tickets, and Tares creates them as issues.

To link a project that has no tickets yet, ask a session with the Tares plugin:

link_tickets(integration="github", link_fields={"repo": "acme/shop", "issue_label": "tares:shop"})

A project that already has tickets of its own, or keeps them in Linear, cannot be linked. A repo and issue label belong to one project.

What Tares writes to GitHub

  • New milestones and issues, one per call, each issue with the label and its “blocked by” links. Writing the same title twice finds the issue again instead of making a second.
  • Status: to do is an open issue, in progress is an open issue with the in progress label, in review keeps that label (GitHub has no in review), and done closes the issue as completed. Nothing depends on a Closes keyword in a pull request.
  • Title, body and milestone, when a session changes them.

A status write GitHub refuses, or cannot be reached for, never stops the crew. Tares tries it again on each sync; after the fifth failure the desk gets a question that names the ticket and the error.

What Tares reads from GitHub

About once a minute, for every linked project:

  • Tickets: every issue with the label, named GH-<number>, with its title and status, in issue number order.

  • Status, from the issue:

    IssueTicket status
    opentodo
    open, with the in progress labelin_progress
    closed as completeddone
    closed as not planned or as a duplicatecanceled
  • Milestones: the GitHub milestones the labeled issues belong to, and which tickets sit in each. You can write a milestone’s goal and checks in Tares.

  • Dependencies: an issue that is blocked by another makes its ticket depend on that one.

  • Assignee: on a team, the first assignee’s GitHub login picks the person whose crew works the ticket.

  • An issue that loses the label (or is deleted, or moves to another repo) becomes canceled in Tares rather than disappearing, so its working doc stays reachable.

Working docs stay in Tares.

When something goes wrong

  • A sync fails (a revoked credential, a repo the credential can no longer see, GitHub unreachable). The project’s Tickets page shows why, the tickets stay as they were, and nothing is canceled. Fix the cause and the next sync picks up.
  • No issue carries the label any more while tickets are still open. Tares stops with an error that asks whether the label was renamed, and cancels nothing. Put the label back.
  • GitHub rate limits Tares. Tares waits and tries again, and a write that still fails says so in plain words.

Limits

  • One repo per project, and one issue label.
  • github.com only. GitHub Enterprise Server is not supported for tickets.
  • Up to 1000 issues with the label.
  • No GitHub Projects boards. Group tickets with GitHub milestones.

Linear works the same way. See Linear, and Where tickets live to choose between them.

Last updated on