User Guide

The Technical Debt Tracker for Bitbucket Server add-on lets you track the technical debt, in the form of TODO or FIXME comments, that is in a repository's code.

Viewing Tasks

Technical Debt Tracker for Bitbucket Server has one screen per repository. You find it by selecting the "Tasks" tab once you have navigated to the repository.


AreaTitleDescription
1TypeIndicates whether the comment is a TODO or FIXME.
2TaskThe task in the comment in the source.
3PathThe file that has the task. Clicking this link will take you to the changeset that first introduced the task.
4Last SeenIndicates how long ago a git push was made that contained a change in the file that has the task.
5AgeIndicates how long ago the first git push was made to the repository with a change in this file.
6OccurrencesIndicates how many times there have been git pushes with a change in this file.
7BranchesIndicates the branches in which this task exists (and, of those, which one it has been removed from).

What Administrators see if there are no comments or the repository hasn't been scanned

Scanning the repository can take a long time and be resource-intensive. So, be careful when you do this to ensure it won't cause usage issues. 

Non-administrator users will not see the scan the repository button, but rather a message to contact the administrator.

Supported formats

Currently Technical Insights for Stash supports the following extensions and patterns to contain the TODO's or FIXME:

ParserDefault File extensionsComment format
Markup style

*.htm
*.html
*.xml
*.php

<!-- TODO:

FIXME:

-->

Java/C style

*.js
*.java
*.as
*.cs
*.h
*.hh
*.hpp
*.hxx
*.h++
*.cc
*.cpp
*.cxx
*.c++
*.c
*.m
*.mm
*.xib
*.php
*.css
*.scala
*.groovy

// TODO:

// FIXME:

/*

TODO:

FIXME:

*/

Ruby/Perl/Hash style

*.rb
*.pl
*.py
*.python
*.pp
*.sh
*.yaml

# TODO: 

If there are any other extensions matching the same patterns which are not included by default, the administrator can add additional extensions to each parser in the administration console for this add-on.

Adding new labels


This describes a feature available in 1.5 and onwards


To add a new label in addition to the standard TODO and FIXME labels, simply go to the main configuration area in the global administration and supply your labels. Labels are constrained to A-Z and 1-9. No special characters are allowed.

Premium Features

Read more about the premium features: