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.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Benedikt Bauer
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
0
Βαθμολογίες
0 0 0
Έκδοση
2.1
Δημιουργήθηκε την
26/02/2026
Ενημερώθηκε την
26/02/2026
Μέγεθος
7 KB
Άδεια
GPL-3.0-or-later
Εφαρμόζεται σε

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.