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.

Vous devrez installer une extension telle que Tampermonkey, Greasemonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Userscripts pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension de gestionnaire de script utilisateur pour installer ce script.

(J'ai déjà un gestionnaire de scripts utilisateur, laissez-moi l'installer !)

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

(J'ai déjà un gestionnaire de style utilisateur, laissez-moi l'installer!)

Auteur
Benedikt Bauer
Installations quotidiennes
0
Installations (total)
0
Notes
0 0 0
Version
2.1
Créé
26/02/2026
Mis à jour
26/02/2026
Taille
7,12 ko
Licence
GPL-3.0-or-later
S'applique à

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.