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.

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

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.

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

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

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

المؤلف
Benedikt Bauer
التثبيت اليومي
0
إجمالي التثبيت
0
التقييمات
0 0 0
الإصدار
2.1
تم إنشاؤه
26-02-2026
تم تحديثه
26-02-2026
الحجم
7.12 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.