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 nameValidate 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. Enterhttps://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.
Connect Plane
1
Create a service account
Gitar acts as a dedicated user, so its activity stays attributable and survives staff changes.
- Create a Plane user account named
gitar-service - Invite
gitar-serviceto 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.
- Open each project Gitar should work with
- Add
gitar-serviceas a Contributor. Older Plane versions call this role Member.
3
Generate an API token
- Sign in as
gitar-service - Go to Workspace Settings → API tokens
- Click Add API token and name it
gitar - Copy the token
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.- Set
API_KEY_RATE_LIMIT=600/minutein your Plane environment - Restart the
apicontainer
5
Connect Plane in Gitar
- Go to your organization’s Settings in the Gitar dashboard
- Open the Integrations section
- Find the Plane card under Ticketing & Documentation and click Connect
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 asFixes 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. ReplacePROJ-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:
[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:
[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:
[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)
Does this work with Plane Cloud?
Does this work with Plane Cloud?
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.Can I give Gitar read-only access?
Can I give Gitar read-only access?
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.
Which projects can Gitar see?
Which projects can Gitar see?
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.
Can I use Plane alongside Jira, Linear, or YouTrack?
Can I use Plane alongside Jira, Linear, or YouTrack?
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.What happens when my token expires?
What happens when my token expires?
Gitar’s Plane calls start failing. Follow Manage the connection to replace the token, then repeat the access checks.
Why was my base URL rejected?
Why was my base URL rejected?
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.Why does the credential check fail?
Why does the credential check fail?
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.
Why can Gitar read a work item but not update it?
Why can Gitar read a work item but not update it?
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.
Why is a work item missing from functional validation?
Why is a work item missing from functional validation?
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.
What should I do after a rate-limit error?
What should I do after a rate-limit error?
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.