Skip to main content

Overview

The Gitar Plane integration connects a Plane workspace, Cloud or self-hosted, to your pull requests. Gitar reads work items, creates and updates them, comments, and moves them between states.
Plane Cloud and self-hosted both work. On Cloud, enter https://app.plane.so as the base URL.

Read Linked Work Items

Resolve a PROJ-123 reference from a PR title, description, or branch name

Validate Against the Issue

Judge a PR against the objectives its work item asks for

Create and Update

Open follow-up work items and update existing ones from a rule

Comment and Transition

Post back to a work item and move it to a new state

Before you start

You need an organization admin role in Gitar to manage integrations. Your Gitar plan must include connecting Plane. See Plans. In Plane, you need permission to invite the service account and add it to the projects Gitar should use. Connecting Plane and running Plane actions through Gitar are separate capabilities. Requests to read or search work items, create or update them, add comments, or change their state require Enterprise, whether they come from a PR comment, repository rule, or skill. The service account’s workspace and project permissions still limit which actions Gitar can complete. Plane Cloud does not require the self-hosted infrastructure checks below. Enter https://app.plane.so and continue to Connect Plane. Self-hosted, check your instance against three requirements:
  • Version v0.28.0 or later. Earlier versions have no route for looking up a work item by its display key, which is how Gitar resolves PROJ-123.
  • HTTPS on port 443 with a publicly trusted certificate. A self-signed certificate does not work.
  • Reachable from Gitar. If you enforce an inbound allowlist, add Gitar’s public IP addresses.
Plane needs no outbound access to Gitar. No webhook is registered, so traffic runs one direction: Gitar reaching your instance on 443.

Connect Plane

1

Create a service account

Gitar acts as a dedicated user, so its activity stays attributable and survives staff changes.
  1. Create a Plane user account named gitar-service
  2. Invite gitar-service to the workspace as a Member, then grant the required project role in the next step.
2

Add the account to your projects

Gitar uses the service account’s access in the configured workspace. Review its project memberships and any inherited access in Plane.
  1. Open each project Gitar should work with
  2. Add gitar-service as a Contributor. Older Plane versions call this role Member.
Contributor permits creating and updating work items, commenting, and changing work-item states. For restricted access, review the roles available in your Plane version. Current Plane’s Commenter role allows reading and commenting but prevents creating or updating work items. Current Guest does not provide general work-item access.
3

Generate an API token

  1. Sign in as gitar-service
  2. Go to Workspace Settings → API tokens
  3. Click Add API token and name it gitar
  4. Copy the token
Plane shows the token once. Record its expiry date so you can rotate it before it lapses.
4

Raise the API rate limit (self-hosted only)

Plane throttles each API token at 60/minute by default, which is low for an organization with several active repositories. The budget is per token, so every Gitar run in your organization shares it. On Plane Cloud this cap is fixed - skip this step.
  1. Set API_KEY_RATE_LIMIT=600/minute in your Plane environment
  2. Restart the api container
Restart the container even if you only edited the environment. Plane reads the rate at startup.
5

Connect Plane in Gitar

  1. Go to your organization’s Settings in the Gitar dashboard
  2. Open the Integrations section
  3. Find the Plane card under Ticketing & Documentation and click Connect
Connected Plane configuration showing the three fields and successful workspace/project checks. Initial setup uses Connect; an existing connection uses Update.Gitar accepts both https://app.plane.so and the https://api.plane.so address shown above for Plane Cloud.Enter the three values:Wait for the automatic credential check. Workspace found and Can read a project confirm that Gitar can find the workspace and see at least one project. Click Connect, then confirm that the Plane card shows Connected.The check does not verify access to every project or permission to update a work item. If Gitar says Could not check the credentials. You can still save., saving alone does not verify access.

Using Plane in rules

Ask for Plane by name in a custom rule. Include the work-item key or project, the action to perform, and when the rule should run. Gitar can look up a work item by key, search, list a project, create, update, comment, and transition. See Rules for setup and trigger options. Changes in Plane do not trigger Gitar runs. Choose a pull-request event for your rule. For example, a read-only instruction is: “Read Plane work item PROJ-123 and summarize its requirements. Do not modify the work item.” Functional validation needs no custom rule. It requires the Enterprise plan, a private repository, and Validate PRs against linked issues enabled under Settings → Configuration → Behavior. Link the work item with a phrase such as Fixes PROJ-123 in the PR description. A passing mention such as see PROJ-123 does not link it. See Functional Validation for the full linking rules and expected output.

Verify access

The PR-request and rule-based checks below require Enterprise. A successful connection or credential check does not establish that these agent actions are available on your plan. Verify reads, comments, and work-item updates separately before enabling rules broadly. In Settings → Integrations, open Plane with Configure and wait for the automatic check. Confirm that the expected workspace and a visible project appear. Use a disposable Plane work item in a project the service account should access. Replace PROJ-123 in each example with its key. Record the item’s original title before testing updates.

Check work-item reads

Create .gitar/rules/plane-read-check.md on a test branch:
Commit and push the rule, then open a test PR titled [Plane access check] Read. In Gitar’s dashboard comment, expand Verification to inspect the rule’s recorded actions. Confirm that the requested PR comment matches the work item in Plane.

Check comments

If your workflow posts comments, create .gitar/rules/plane-comment-check.md on the same test branch:
Commit and push the rule, then change the PR title to [Plane access check] Comment. Open the work item in Plane and confirm that the comment appears under the service account. This verifies commenting only. A Commenter can post comments without permission to update work-item fields.

Check work-item updates

After the read check succeeds, create .gitar/rules/plane-update-check.md on the same test branch:
Commit and push the rule while the PR still has its Read title. Then change the PR title to [Plane access check] Update. The title change triggers rule evaluation. Inspect Verification and the result comment, then open the work item in Plane and confirm its title is Gitar Plane update verification. A successful comment check does not establish field-update access. Test creation and state changes separately if your workflow needs them.

Clean up

Change the PR title to [Plane access check] Complete so it no longer matches any of the example rules. Restore the work item’s original title in Plane, remove all three temporary rule files (plane-read-check.md, plane-comment-check.md, and plane-update-check.md) from the test branch, and close the test PR without merging the verification rules.

Best practices

Start with limited access and verify the actions your rules will perform.
  • Use a dedicated service account and limit its workspace and project access to what Gitar needs.
  • Start with one project and a read check. Verify writes on a test work item before using rules on production work.
  • Give rules an explicit Plane project or work-item key. For updates, name the exact field or target state and the event that should trigger the change.
  • Put clear requirements in the work-item description so functional validation can assess them.
  • Record the token’s expiry date and rotate it before it expires. Never put tokens in PR comments or rules.
  • Keep searches focused. Plane’s API limit is shared by calls using the same token; after a rate-limit error, wait before retrying.

Manage the connection

To rotate the token, generate a replacement as the service account in Plane. In Gitar, open Settings → Integrations → Plane → Configure, enter the replacement in Plane API Token, wait for the check, and click Update. Verify access before revoking the old token in Plane. When changing only the workspace slug, leave the token field blank to keep the existing token. If the Plane Base URL changes, enter the token again: Gitar will not send a saved token to a different host, so the credential check fails and Update stays disabled. To stop using Plane, open Configure, click Disconnect, and confirm. Disconnecting Gitar does not revoke the API token in Plane. Revoke it there separately if it is no longer needed.

Frequently Asked Questions (FAQ)

Yes. Enter https://app.plane.so as the base URL and generate the service account’s API token under Workspace Settings → API tokens. Plane Cloud allows 60 API requests per minute per token. Self-hosted admins can configure the limit as described above.
Check the roles in your Plane version before granting access. Current Plane’s Commenter role can read work items and add comments, but cannot create or update them. It is not strictly read-only.Current Guest cannot read general project work items. Older versions may provide Guest view access. Verify the intended restrictions with a test work item.
Gitar uses the service account’s access in the configured workspace. Review its project memberships and any inherited access in Plane. Keep the account limited to the workspaces and projects it needs; do not assume the token’s name limits its access.The connection check confirms visibility of at least one project, not every intended project.
Yes. For automatic issue linking and functional validation, bare keys such as PROJ-123 use the first connected tracker in this order: Jira, Linear, Plane, then YouTrack. A failed lookup does not try the next tracker.If Jira or Linear is connected, use a custom rule that explicitly names Plane for Plane work-item actions. This does not change which tracker functional validation selects.
Gitar’s Plane calls start failing. Follow Manage the connection to replace the token, then repeat the access checks.
Gitar accepts HTTPS only. For self-hosted Plane, use a publicly trusted certificate and make the instance reachable from Gitar on port 443. An internal hostname alone does not make a private instance reachable. For Plane Cloud, enter https://app.plane.so.
For a rejected token, copy the full value again and check whether it expired or was revoked. For an unknown workspace, use the slug from the URL, not the display name. If access is refused or no projects are visible, check the service account’s workspace and project access.If Gitar cannot reach Plane, check the base URL, certificate, and network allowlist, then reopen Configure to check again.
First confirm that your Gitar organization has Enterprise. Reconnecting the integration or granting broader permissions does not remove this plan requirement.Reading and writing require different permissions. Check the service account’s project role; use Contributor, or Member on older versions, for work-item updates. Confirm the requested target state exists in that project. Repeat the write check on a test work item after correcting access.
Confirm that the work item is readable, the repository is private, and the organization has functional validation enabled on Enterprise. Use a supported linking phrase and check whether another connected tracker takes precedence. See Functional Validation for linking requirements.
Wait for the retry interval reported by Plane before running the action again. Narrow searches and avoid repeatedly triggering the same rule. On self-hosted Plane, ask your administrator to review API_KEY_RATE_LIMIT and restart the API container after changing it.