GitLab points counter

A userscript that totals Story Point estimates directly on GitLab issue boards, displaying a running SP count next to each column header.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
Benedikt Bauer
Installationen heute
0
Installationen gesamt
0
Bewertungen
0 0 0
Version
2.1
Erstellt am
26.02.2026
Letzte Aktualisierung
26.02.2026
Größe
7,12 KB
Lizenz
GPL-3.0-or-later
Wird angewandt auf

GitLab Points Counter

A userscript that totals Story Point estimates directly on GitLab issue boards, displaying a running SP count next to each column header.

What it does

Issues on a GitLab board are expected to have their Story Point estimate written at the end of the title in the format (N SP) — for example:

Implement login page (3 SP)

The script reads all issues in every column of the current board via the GitLab GraphQL API and injects an SP total badge next to each column header. The badge updates automatically when you switch to a different board within the same project.

Installation

  1. Install a userscript extension for your browser:

  2. Create a new userscript in the extension dashboard and paste the contents of pointscounter.js.

Compatibility

Extension Supported
Tampermonkey
Violentmonkey
Greasemonkey 4

Works on gitlab.com and any self-hosted GitLab instance reachable under a gitlab.* subdomain (e.g. gitlab.yourcompany.com).

How it works

  • No token required — the script uses the browser's existing GitLab session cookie (credentials: 'include'), so no personal access token needs to be configured.
  • Project and board auto-detected — the project path and board ID are parsed directly from the URL, so the script works on any board without configuration.
  • Resilient DOM injection — column headers are located by matching the list title text rather than relying on CSS selector positions that change between GitLab versions.
  • SPA-aware — GitLab is a single-page application. The script uses a MutationObserver to detect board navigation and re-runs automatically when you switch boards without a full page reload.

Story Point format

Points are parsed from the issue title using the pattern ( N SP ) where N is any integer. Spaces around the number are optional. Examples of valid titles:

Fix authentication bug (5 SP)
Refactor user model ( 3 SP )
Write unit tests (13SP)

Issues without a matching pattern are counted as 0 SP and do not affect the total.