Browse the docs

Connect your code host and your tickets

Link the workspace to its repository, then to your issue tracker, so putnami.app shows your pull requests and your tickets in one place.

A workspace has one repository and one code host: GitHub or a gitlab.com group. Linear and Jira connect once for your organization.

What happens in the cloud

  1. You ask for a connection. The platform opens a short session and gives you a link on the code host or the tracker.
  2. You approve the Putnami app on that service. For GitHub, you also install the Putnami GitHub App on the repository if it is not installed.
  3. The platform stores the link between the workspace and the repository, the Linear teams or the Jira projects.
  4. From then on, the platform reads pull requests and issues, and writes checks and comments with the app you approved.

Connect GitHub

Run this from the repository, in a linked workspace:

putnami cloud source connect --repo <owner>/<repo>
putnami cloud source status

The CLI prints a GitHub authorization link and opens your browser. When the Putnami GitHub App is not installed on the repository, it prints a second link to install it. Select the repository. The CLI then prints Connected GitHub repository <owner>/<repo> to workspace <id>.

--repo picks the repository with no prompt, and --output=json requires it. --no-open prints the links and opens no browser. --replace replaces the repository the workspace holds.

putnami cloud source status prints three checks: the connection, the health of the App installation, and its permissions. It also counts open and stale pull requests (no update in 14 days). It exits 1 when a check fails, and with --strict when one is not ok.

What the GitHub App can do

The App needs five permissions: read Metadata, Contents, Pull requests and Administration (the branch rulesets), and write Checks (the Putnami Verdict check and the other checks). Optional permissions turn features on: Pull requests write (comments, labels, the pull requests of a build), Contents write (merge, and the merge queue), Issues (list and close issues), Actions read (read your GitHub Actions pipelines). The App has no permission on workflow files. The full table is in Security and data.

To remove the link, run putnami cloud source disconnect and confirm, or add --yes.

Connect a GitLab group

Only groups on gitlab.com connect. Open the workspace settings in putnami.app, then Providers, then the Code host card. You need the Owner role on the group and the admin role on the workspace. On gitlab.com Free, the Owner of the top-level group must have verified their identity on GitLab.

  1. Type the group path, such as acme or acme/platform, then select Connect GitLab.
  2. Approve the Putnami app on GitLab. It asks for the api scope.
  3. Back on Providers, read the group, the service account and the token expiry date.
  4. Select Choose a project, then Choose on one row. Putnami adds a webhook to that project.

The api scope gives full access to everything your GitLab account reaches. Putnami uses it once: it creates a service account in the group, adds it as Maintainer, gives it its own token, then revokes your authorization. The token lives 30 days and renews from 15 days before it expires.

Health Meaning Fix
healthy The token is valid. None.
renewal late The token expires within 14 days and Putnami keeps trying. Wait. If it expires, connect again.
token expired, revoked GitLab refuses the token. An Owner of the group selects Connect again.

Replace with another group revokes the old token and deletes the old service account. Disconnect removes the project and the webhook, and revokes the token. The service account stays in the group: remove it on GitLab under Manage, Members.

A workspace holds GitHub or GitLab, never both.

Connect Linear or Jira

Open Providers in the workspace settings, then the Task tracker card.

Who Does Permission
Organization owner Connects, reconnects or disconnects Linear or Jira platform.tenant.manage
Workspace admin Picks the Linear teams or the Jira projects platform.workspace.manage
  1. As organization owner, select Connect Linear or Connect Jira.
  2. Approve the Putnami app on Linear (read access) or Atlassian (read Jira work, manage Jira webhooks, keep access).
  3. Back on Providers, select Connect. With several Jira sites, select the one your organization uses.
  4. As workspace admin, select Pick a team or Pick a project, then Bind on each one.

Every workspace of the organization reads the same connection and binds its own teams or projects. Disconnecting, or reconnecting to another Linear organization or Jira site, removes the teams and projects of every workspace. The connection acts as the person who authorized it: when that person leaves or revokes the app, the card reads needs attention until an owner connects again. After a Jira disconnect, that person removes Putnami from the Connected apps of their Atlassian account.

What you see

  • Backlog (/m/backlog?workspace=<workspace>) lists the open issues of the bound teams and projects within 5 minutes, beside the GitHub issues. Cards read Linear issue or Jira issue with the key. Putnami never stores a description.
  • Name a task in a change. Put the key, such as ENG-42 or PROJ-123, in the pull request title, branch name or description. Case does not matter. The pull request leaves the Todo column and the change page names the task under its title. The prefix must belong to a bound team or project. Name the branch fix-eng-42, not fix_eng-42: a key glued to a letter, digit or underscore counts for nothing.
  • Context tab. The change page shows the issue, its epic, the open issues that block it or that it blocks, and the comment count, never the comment text.
  • Search. The workspace search page (/w/<workspace>/search) has a Code group with the declarations of your repository, at path:line. Putnami turns the code index on and rebuilds it every 5 minutes. Members with source.code.read see it. Viewers do not.

When it fails

You see Cause Fix
repository ... is not an authorized candidate The App is not installed on that repository. Install the App on it, then run the command again.
GitHub onboarding timed out You did not finish in the browser in time. Run the command again.
permissions check degraded The App lacks a required permission. Accept the permission update on GitHub.
Card reads needs attention The person who authorized the connection left or revoked the app. An organization owner connects again.
Backlog shows no Linear or Jira issue No bound team or project, or the connection needs attention. Bind a team or project, or reconnect.
GitLab refuses to create the service account The top-level Owner has not verified their identity. Verify the identity on GitLab, then connect again.

Next