Admin

GitHub

Connect GitHub to TaskForce with a personal token, link a GitHub Project and let its issues, drafts and sub-issues flow in as tasks.

The GitHub integration links GitHub Projects to TaskForce projects. It works with project items (issues and draft issues), sub-issues and issue comments. Repositories, code and pull requests are not synced. Once a project is linked, items added or changed in the GitHub Project appear as tasks in TaskForce.

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.
  • No server setup is needed: a personal token is enough. One-click sign-in is optional (see One-click sign-in).
  • GitHub must be able to reach your TaskForce address over the internet to deliver events.

Connect with a personal token

  1. In GitHub open Settings > Developer settings > Personal access tokens > Tokens (classic), then Generate new token (classic).
  2. Give it a name such as TaskForce and select the scopes repo, project, read:org, admin:org_hook and admin:repo_hook.
  3. If your organization uses SAML single sign-on, choose Configure SSO next to the token and authorize it for the organization.
  4. Click Generate token and copy the token. GitHub shows it only once.
  5. In TaskForce open Settings > Integrations > GitHub, paste it into Personal access token (classic) and click Save Connection. The status pill changes from Not connected to Connected and the page shows Connected with a token.

Fine-grained tokens are not recommended: one covers a single owner (your account or one organization), cannot read projects owned by a user account and may need organization approval. If you use one anyway, choose the organization as resource owner and grant organization Projects (read and write) and Webhooks (read and write), and repository Issues (read and write) and Metadata (read). The token acts as you, so TaskForce reaches only what you can reach. GitHub does not refresh these tokens: replace it when it expires or is revoked.

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 GitHub: delete it there if you want to cut access completely.

One-click sign-in (if available)

If your TaskForce operator has registered the TaskForce GitHub App for the installation, the page also shows Connect with GitHub. Approve the app in GitHub, then install it on every organization whose projects you want to sync: open https://github.com/apps/<app-name>/installations/new, pick the organization and choose the repositories the app may use. The Need a token? panel on the card shows the exact link. TaskForce then uses a GitHub user token that lasts 8 hours and renews it automatically. When the operator has not registered the app, the button is not shown and the token form is all you need.

Sync and select projects

  1. Click Sync Projects to load the open projects of every account where the app is installed. Use Search projects… to filter the list.
  2. Click Sync next to a 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.

Closed projects are not listed. GitHub does not let apps read projects owned by a personal account in most cases, so personal projects may be missing from the list.

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

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

Webhooks

With one-click sign-in, GitHub events reach TaskForce through the GitHub App’s own webhook, which your operator configures once for everybody. With a personal token, TaskForce creates the webhooks itself (see below). In Configure Sync the Webhook Management block shows a status badge and how many of the required events are active.

Click Reconcile Webhooks to check the setup. TaskForce looks for an installation of the app on the account that owns the project:

  • Configured: the app is installed on the owning organization and receives every needed event.
  • Limited: a personal project. Everything GitHub can send for it is active, but GitHub never sends project item events for personal projects; the explanation is shown under the badge (see Limitations).
  • Drifted: the installation is missing some of the events it should receive.
  • Not configured: the app is not installed on the owner. Install it from the link shown, then reconcile again.

TaskForce listens for five kinds of change: item created, updated, commented, deleted and restored.

Secure the webhooks

Every delivery is signed by GitHub with the app’s webhook secret (X-Hub-Signature-256). TaskForce rejects deliveries without a valid signature. The secret is managed by TaskForce, so the Generate Secret button is not shown for GitHub.

With a personal token

Webhooks are created for you when you click Reconcile Webhooks, so the token needs admin:org_hook (organization projects) and admin:repo_hook (repositories).

  • Organization projects: only an organization owner can add the organization webhook. Other members can list and sync projects and create issues, but Reconcile Webhooks answers that an owner is needed. Ask an owner to connect once with their own token and click Reconcile Webhooks.
  • Personal projects: TaskForce adds webhooks to the project’s linked repositories instead. Issue changes, sub-issues and comments sync. Project item changes do not, because GitHub never sends them for personal projects (status Limited).
  • If you switch from one-click sign-in to a token (or back), click Reconcile Webhooks again. Webhooks left over from the old mode are not removed automatically and keep failing until you delete them in GitHub.

When one-click sign-in is used, the GitHub App’s own webhook is used as described above and there is nothing to create per project.

What flows from GitHub to TaskForce

When an event arrives for a synced and linked project, TaskForce acts as follows.

GitHub event Result in TaskForce
Item added to the project (issue or draft issue) A task is created.
Item field changed, issue edited, closed, reopened, labeled, assigned or typed The task is updated.
Item archived The task is set to Abandoned.
Item restored The task is updated from the item, or created again if it was deleted.
Item removed from the project, or issue deleted The task is deleted.
Draft converted to an issue The draft’s task is replaced by a task for the issue.
Sub-issue added or removed The task’s parent changes, when the parent was already imported.
Comment on an issue The comment is added to the task, attributed to the author by the public email on their GitHub profile. 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 GitHub): …
Pull request in the project Ignored.

Fields that are copied on create and update:

GitHub TaskForce
Title Task title
Body Description
Project Status field Status, by name: Todo and similar become New, In Progress and similar become Active, Done becomes Closed. No status becomes New.
Issue closed Closed, or Abandoned when closed as not planned (duplicates count as not planned)
Issue type, then labels Type: Bug, User Story, Feature or Epic by name. Others become Task.
First assignee Assignee, matched by the public email of the GitHub profile
Parent issue Parent task, when the parent was already imported
If the assignee or comment author has a public email but no TaskForce account, TaskForce creates one for that email address, adds it to the workspace and to the project as a pending member, and notifies the project admins. People without a public email on GitHub are not assigned. Their comments are still copied, posted by the TaskForce bot with the author's name in front, for example **Ana Silva** (via GitHub): ...

What flows from TaskForce to GitHub

  • Tasks created through the AI task creation flow in a project that is linked to GitHub also create a GitHub item, using the task title and description. When the GitHub Project has a linked repository, TaskForce opens an issue in the first linked repository and adds it to the project. Otherwise it adds a draft issue.
  • The Outbound Sync and Inbound Sync checkboxes are saved with the project settings, and they are all off by default. 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 GitHub.

Import existing work

To bring all existing items 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.

GitHub has no file attachment API, so files embedded in issues stay as links.

Limitations

  • There is no initial import of existing items. Tasks appear when GitHub sends an event for them.
  • GitHub sends project item events only for projects owned by an organization. Personal projects can be listed (when GitHub allows it) and receive new items from TaskForce, but adding or changing items there does not reach TaskForce. Comments and issue changes on issues TaskForce created still arrive.
  • Converting a draft issue to an issue replaces the draft’s task with a new task for the issue. Comments and time logged on the draft’s task in TaskForce are lost.
  • An issue that belongs to several projects takes its status from its item in the project linked to the task, never from another project.
  • Priority and effort are not synced.
  • Personal access tokens do not refresh. When the token expires or is revoked, TaskForce shows that the token was rejected: create a new one and replace it on the integration page.
  • A token needs the scopes listed above. A missing scope shows up as a permission error when you sync or reconcile.
  • Only an organization owner can create the organization webhook (see Webhooks).

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

This is optional: TaskForce works with personal tokens without it. These steps are for whoever runs the TaskForce installation, once, and add the Connect with GitHub button.

  1. In GitHub open Settings > Developer settings > GitHub Apps > New GitHub App (for an organization: the organization’s Settings > Developer settings).
  2. Callback URL: https://<your-taskforce-host>/api/integrations/github/oauth/callback. Tick Expire user authorization tokens (TaskForce refreshes them).
  3. Webhook: active, Webhook URL https://<your-taskforce-host>/api/webhooks/github, and a long random Webhook secret.
  4. Permissions: Organization permissions Projects: Read and write; Repository permissions Issues: Read and write and Metadata: Read-only.
  5. Subscribe to events: Issues, Issue comment, Projects v2 item, Sub issues.
  6. Choose Any account under “Where can this GitHub App be installed?” if workspaces outside your organization will connect.
  7. Create the app, then generate a client secret and note the client ID and the app’s URL name (the last part of https://github.com/apps/<app-name>).
  8. Set the environment variables and restart TaskForce:
GITHUB_APP_SLUG=<app-name>
GITHUB_CLIENT_ID=<client id, starts with Iv>
GITHUB_CLIENT_SECRET=<client secret>
GITHUB_WEBHOOK_SECRET=<the webhook secret from step 3>

WEBHOOK_PUBLIC_URL (or APP_URL) must be the public address used in steps 2 and 3.

A brighter way to work

Bring your team and AI agents together, starting today.