A userscript that totals Story Point estimates directly on GitLab issue boards, displaying a running SP count next to each column header.
A userscript that totals Story Point estimates directly on GitLab issue boards, displaying a running SP count next to each column header.
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.
Install a userscript extension for your browser:
Create a new userscript in the extension dashboard and paste the contents of pointscounter.js.
| 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).
credentials: 'include'), so no personal access token needs to be configured.MutationObserver to detect board navigation and re-runs automatically when you switch boards without a full page reload.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.