Admin

Linear

Connect Linear to TaskForce with a personal API key, link Linear projects and let their issues and comments flow in through webhooks. Learn what is imported and what is not.

The Linear integration links Linear projects to TaskForce projects. Once a Linear project is linked and the webhooks of its teams are in place, issues of that project created or changed in Linear appear as tasks in TaskForce, and new Linear comments are added to those tasks.

Who can use it

  • Connecting, syncing and changing settings needs the Manage integrations permission. Viewing the connection needs View integrations.
  • The Project Manager role template has both. Account Owner and Administrator have every permission.
  • Webhooks need a workspace admin: create the personal API key with Admin access (see below), or have a workspace admin approve one-click sign-in.
  • Linear must be able to reach your TaskForce address over public HTTPS. A workspace that runs on a local address cannot receive webhooks, and the page tells you to contact your workspace administrator.
  • No server setup is needed: a personal API key is enough. One-click sign-in is optional (see One-click sign-in).

Connect with a personal token

  1. In Linear open Settings > Account > Security & access. Under Personal API keys create a new key. If you do not see the option, a workspace admin must first enable Member API keys in Settings > Administration > API.
  2. Choose Full access, or select Read, Write and Admin. Under team access pick All teams or the teams of the projects you want to sync.
  3. Copy the key. Linear shows it only once.
  4. In TaskForce open Settings > Integrations > Linear, paste it into Personal API key and click Save Connection. The page shows Connected with a token.

Admin is needed because TaskForce creates the webhooks on the teams of your Linear projects, and Linear only lets workspace admins manage webhooks.

The token is encrypted and never shown again. To replace it later, open the integration page, paste the new value and click Update Connection. Remove Connection unlinks all synchronized projects after you confirm. It does not revoke the credential at Linear: delete it there if you want to cut access completely.

One-click sign-in (if available)

If your TaskForce operator has registered a Linear OAuth application, the page also shows Connect with Linear. Linear asks you to pick a workspace and approve read, write and admin access, and a workspace admin must approve it because TaskForce manages the team webhooks of your Linear projects. Linear access tokens last 24 hours and TaskForce renews them automatically. If the refresh ever fails, click Reconnect with Linear. When no application is registered the button is not shown and the key form is all you need.

Sync and select projects

  1. Click Sync Projects to load the Linear projects you can access with the key (up to 250). Use the search box to filter the list.
  2. Click Sync next to a Linear project to make it available to TaskForce. The button changes to Synced. Click it again to stop syncing that project.
  3. Click Configure Sync to open the settings of a synced project.

Synced Linear projects can be linked to a TaskForce project in two ways:

  • Existing project: open the project settings, go to Integrations and pick the Linear project in Linked project. You can link one external project per integration.
  • New project: click to create a project, choose the Import tab, pick Linear as the Source, select the Source project (the Linear project), give the project a name and click Import & create.

Webhooks

Linear only has team-level webhooks, so issues reach TaskForce through one Linear webhook on each team the Linear project belongs to, subscribed to the Issue and Comment resource types. In Configure Sync the Webhook Management block shows the status (Configured, Drifted, Error or Not configured), the Callback URL, the time of the Last checked, any Missing Events and whether a Webhook Authentication Secret is set.

TaskForce handles five kinds of change: issue created, updated, commented, deleted and restored.

Secure the webhooks

  1. Click Generate Secret (or Rotate Secret if one exists) and confirm. Linear signs every delivery with this secret (Linear-Signature, HMAC-SHA256).
  2. Click Reconcile Webhooks. TaskForce creates the webhook in Linear with that secret on each team the Linear project belongs to, and replaces any older TaskForce webhook on those teams that is disabled, misses a resource type or uses another secret. Reconcile refuses to run until a secret exists.
  3. Click Save Sync Settings.

The status is Configured only when every one of those teams has its webhook.

Rotating a secret invalidates the previous one. Reconcile again afterwards, otherwise Linear keeps signing with the old secret and TaskForce rejects the deliveries. TaskForce also rejects deliveries whose timestamp is more than one minute off, so keep the server clock in sync.

With a personal API key

Creating team webhooks needs an Admin key from a workspace admin. With a key that lacks Admin, or from a member who is not an admin, Reconcile Webhooks reports that admin permission is needed and issues will not arrive. Ask a workspace admin to create the key and paste it instead.

What flows from Linear to TaskForce

When a webhook arrives for an issue of a synced and linked Linear project, TaskForce acts as follows. Issues of other projects in the same team, and issues without a project, are ignored.

Linear event Result in TaskForce
Issue created or updated A task is created or updated.
Comment created The comment is added to the matching task, only when that task already came from the project. Comment edits and deletions are ignored. When TaskForce cannot see the author’s email address, the TaskForce bot posts the comment and puts the author’s name in front, for example Ana Silva (via Linear): …
Issue deleted (removed or moved to trash) The matching task is deleted.
Issue restored from trash or unarchived The task is created again from the issue’s current data.
Issue archived Treated as a normal update: the task stays, with the issue’s status.
Issue moved into the project Created or updated as a task.
Issue moved out of the project Left as it is in TaskForce.
Other resource types (labels, projects, cycles) Ignored.

Fields that are copied on create and update:

Linear TaskForce
Title Task title
Description (markdown) Description
Workflow state type Status: Triage, Backlog and Unstarted become New, Started becomes Active, Completed becomes Closed, Canceled and Duplicate become Abandoned.
Labels Type: a label starting with Bug, Story, Feature or Epic sets that type, otherwise Task.
Assignee Assignee, matched by email address
Priority Urgent 1, High 2, Medium 3, Low 4. “No priority” keeps the current TaskForce priority (Medium for new tasks).
Parent issue Parent task, when the parent was already imported
Started at Start date
Due date (else completed or canceled date) End date
If the assignee or the comment author has no TaskForce account, TaskForce creates one for that email address. Assignees are also added to the workspace and to the project as pending members, and the project admins are notified. Review pending members after the first events arrive.

What flows from TaskForce to Linear

  • Tasks created through the AI task creation flow in a project that is linked to Linear also create a Linear issue in that Linear project (on the project’s first team when it spans several), with the task title, description and priority. The task type is not sent, because Linear has no issue types.
  • The Outbound Sync and Inbound Sync checkboxes are saved with the project settings. In the current release the webhook handling described above does not consult them, and edits, comments and time logged in TaskForce are not sent to Linear.

Import existing work

To bring all existing issues into TaskForce in one pass, use the Import tab when creating a new project or the Import from an external project option in an existing project’s settings. See Import projects and tasks for details.

Linear imports files uploaded in the issue description, but not files in comments.

Limitations

  • There is no initial import of existing issues. Tasks appear when Linear sends an event for them.
  • Estimates (points) are not imported as effort, and time is not synced.
  • Only projects you can access with the key are listed (up to 250).
  • Comments on project updates or documents are ignored; only issue comments are imported.
  • API keys do not refresh. When the key is revoked or expired, TaskForce shows that the key was rejected: create a new one and replace it on the integration page.
  • Webhooks, and therefore inbound sync, need a key with Admin from a workspace admin.
  • A key restricted to some teams lists only the projects you can reach with those teams.

Optional: enable one-click sign-in (operators)

This is optional: TaskForce works with personal API keys without it. These steps are for whoever runs the TaskForce server, once per deployment, and add the Connect with Linear button.

  1. In Linear, open Settings > API > OAuth applications and create a new application (Linear recommends a dedicated workspace to own it). Give it a name such as TaskForce and your logo.

  2. Add the redirect (callback) URL: <WEBHOOK_PUBLIC_URL or APP_URL>/api/integrations/linear/oauth/callback, for example https://app.example.com/api/integrations/linear/oauth/callback.

  3. Leave the application-level webhook off: TaskForce creates a signed webhook on each team of a synced project itself. Enable “public” (multi-workspace) access if customers outside your own Linear workspace will connect.

  4. Copy the client ID and client secret into the server environment and restart the app:

    LINEAR_CLIENT_ID=...
    LINEAR_CLIENT_SECRET=...
  5. Make sure APP_URL (or WEBHOOK_PUBLIC_URL, if set) is the public HTTPS address of TaskForce. Webhook callbacks are <that address>/api/webhooks/linear?projectRef=<reference>.

TaskForce requests the scopes read,write,admin with PKCE (S256) and the actor=user mode, so issues it creates are attributed to the person who connected. If you rotate the client secret in Linear, update LINEAR_CLIENT_SECRET; existing connections keep working.

A brighter way to work

Bring your team and AI agents together, starting today.