Before you begin
- Manage Organization Integrations in Agent Golf. The organization Administrator role has it. See Organization roles.
- A Linear workspace admin, who must approve the install of the Agent Golf app.
- The GitHub integration of Linear, so that Linear attaches your pull requests to issues. See Pull-Request Links.
- A connected GitHub organization. Agent Golf counts only the pull requests that it receives from GitHub.
Connect your Linear workspace
- Open Settings, choose Organization at the top of the navigation, then select Integrations > Linear.
- Read Access That Agent Golf Asks For, then select Connect Linear. Linear opens.
- In Linear, choose the teams that the app can read, and approve the install. Linear returns you to Agent Golf, and the page shows “Connecting Linear…”.
- Choose What to Import opens. Continue with Choose the import.
The access that Agent Golf asks for
Agent Golf installs in Linear as an app, so its reads do not show as actions of the person who installed it. The app asks for two read-only scopes:read: read the items of your Linear workspace.initiative:read: read initiatives. An app needs this scope in addition toreadto see initiatives.
Choose the import
Agent Golf imports nothing from a new connection until you choose the teams and the work. In Choose What to Import:- Under 1. Teams, choose All Teams or Specific Teams. For Specific Teams, select the teams. Select Next.
- Under 2. Work, choose Active Work or All Work, with History.
- Select Start Import.
The connection card
After you connect, the Linear page shows the connection with its state and these facts:Teams
The Teams card below the connection card chooses the Linear teams that Agent Golf imports. Each workspace of the organization sees every imported team’s data, including a workspace that you create later.- Choose All Teams to import every team that the Linear app can read, including teams that Linear adds later.
- Choose Specific Teams, and select the teams in the Import column. A new team waits until you select it.
For which items a team brings, see Teams.
Change the teams of the app
A Linear admin changes the teams that the app can read in Linear. Reconnect does not change them: Linear does not ask for the teams again while the app stays installed.- In Linear, open Settings > Applications, then Agent Golf.
- Under Team access, choose All public teams and select other teams… or Only select teams…. Select the teams, then select Update. The app reads a private team only when the admin selects it.
- In Agent Golf, on the Linear page, select Refresh Teams if the new teams do not show yet.
In a workspace
A workspace cannot connect, disconnect, or change Linear. In a workspace, Settings > Integrations > Linear shows each Linear connection of the organization, read only, with its imported teams. Users with Manage Organization Integrations also see Manage in Organization Settings.One Linear workspace, one organization
A Linear workspace connects to one Agent Golf organization at a time. To connect it to another organization, an admin of the first organization must disconnect it first.Disconnect
- On the Linear page, select Disconnect.
- Confirm in Disconnect Linear.
Reconnect
Select Reconnect on the Linear page. The Reconnect Linear dialog shows how to change the teams of the app. Select Continue to Linear, and approve the install in Linear again. Agent Golf uses the same connection, so the imported data, the follow lists, the import choice, and the teams stay. Agent Golf then reads the changes that it missed. When the state is Needs Reconnect, reconnect in the same way. See Linear access stopped.Delete the data
You can delete the imported data of a disconnected Linear workspace. You need Manage Organization Integrations.- Disconnect Linear.
- On the Linear page, select Delete Imported Data.
- Read the dialog. It names the Linear workspace and counts the initiatives, projects, issues, and pull request links that are not archived.
- Type the Linear workspace name, and select Delete Imported Data.
Other deletions
- Deletion of the organization deletes the same data as Delete Imported Data.
- Deletion of a workspace deletes only the follow lists of that workspace.
- Delete Usage Data, Delete Organization Data, and the deletion after a plan ends do not delete the Linear data. See Data Retention & Deletion.