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.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Benedikt Bauer
Dagelijks aantal installaties
0
Totaal aantal installaties
0
Beoordelingen
0 0 0
Versie
2.1
Gemaakt op
26-02-2026
Bijgewerkt op
26-02-2026
Grootte
7,12 KB
Licentie
GPL-3.0-or-later
Wordt toegepast op

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.