Before you start
- You need to be an admin in your Scaling organisation. A member cannot see the Linear page in the product.
- You also need to be an admin of your Linear workspace. Linear only lets a workspace admin approve an app that can be assigned issues, so a Scaling admin who is only a member of the Linear workspace cannot finish connecting.
- Scaling needs at least one connected repository, because a team is mapped to one. See Connecting a repository.
Connect Linear
Choose Settings at the foot of the sidebar, then Linear, and choose Connect Linear. Linear opens and shows what Scaling is asking for. Approve it, and Linear sends you back to Scaling, which is now linked to your organisation. The page then says Connected to and the name of your Linear workspace, and the date you connected it. A workspace belongs to one Scaling organisation at a time. If yours is already connected to another organisation, the page says so, and nothing is linked until an admin there disconnects it. If you decline on Linear’s screen, nothing is connected and you can start again from Connect Linear. The link between the two screens works once and for ten minutes, so connect in one sitting.What Scaling asks for, and why
Scaling asks Linear for four permissions and no others. It never asks for the admin permission.
Be plain with yourself about what
write is.
Linear does not split it any finer, so it would let the app change any field of any issue in the teams it can reach: the title, the description, the assignee, the priority, labels and more.
Scaling itself only ever does two things to an issue: it adds a comment, and it moves the issue’s workflow status.
It changes the workflow status only on issues in teams you have mapped.
In a team that is not mapped, the one thing Scaling does is leave a single comment on an issue that someone assigned to it, saying that no repository is mapped for the team.
It changes nothing else there, and it does nothing on an issue nobody assigned to it.
Limiting the app on Linear’s side, in the next section, is what turns that promise into a boundary you control.
Limit Scaling to your mapped teams
After you connect, open Scaling’s entry in your Linear workspace’s settings as a workspace admin, and limit its team access to the teams you map in Scaling. Do this for every team you add or remove later. A team the app cannot reach is a team where Scaling can neither read nor change an issue, whatever the permissions say.Map a team to a repository
Under Teams on the same page, each Linear team in your workspace has its own form. An issue assigned to Scaling is built in the repository its team is mapped to. A team maps to one repository.- Choose the Repository.
- Choose the state under When a run starts, move the issue to. This one is required, and the team’s first started state is chosen for you.
- Choose the state under When a draft pull request opens, move the issue to. If the team has one started state the choice starts as None - leave it where it is. If it has two or more, the last started state is chosen for you. Choose None - leave it where it is to leave the issue where it is when the draft opens.
- Choose Save mapping.
Hand an issue to Scaling
Open an issue in a mapped team and choose Scaling from the assignee menu. Scaling becomes the issue’s delegate and you stay the assignee, so the issue is still yours. This is the only thing that will start a run. Creating the issue, labelling it, mentioning Scaling in it and commenting on it all start nothing.Scaling does not start runs from Linear yet. Today it recognises the assignment and only the
comment on an issue in a team with no mapped repository is visible in Linear. Connecting and
mapping now means assignments are picked up as soon as runs from Linear are switched on, with
nothing to set up again.