Extension:IssueTracker

The IssueTracker extension is a simple and powerful bug tracking and issue tracking system developed to make this process easier for your team. It introduces the tag to the MediaWiki markup, which can be used to produce an issue and bug tracking system.

Version 1.0

 * View, add, edit and archive issues.
 * Search issues.
 * Filter issues.
 * List issues (new, resolved, closed, archived and/or any other custom tag).
 * Access Control List (group of users can have a different access levels).
 * Anonymous issue management.
 * MVC architecture, easy to extended.

Version 1.1(not yet released)

 * Attachments.
 * Issue change history.
 * Changelog support.
 * Email notifications.
 * Users can monitor specific issues.

Screencast
YouTube: IssueTracker

Usage
The IssueTracker extension provides a custom tag,, that allows the inclusion of an issue tracker in any wiki page. It's possible to customize almost every aspect of the extension, such as permissions, user groups, colours, titles, and templates. It supports searching and several types of filtering.

To embed an issue tracker into a page, use the tag:

If a project name is not provided, the extension will use the page namespace as the default project name. You can create multiple issue trackers by providing different project names, for example:



To hide the filter and search forms you can set the search and filter options to false:



By default, users must be logged in to add, edit or achieve issues. If you want to allow anonymous issue management, set the authenticate option to false:



Options

 * project = String : The project name (default: page namespace).
 * authenticate = Boolean : User authentication (default: true).
 * search = Boolean : Display search form (default: true).
 * filter = Boolean : Display filter form (default: true).

Requirements
The IssueTracker extension requires MediaWiki 1.9.0 or greater.

Archive File
Available formats: zip | tar.gz

Subversion Repository
Use SVN to checkout a copy of the source code. I highly recommend you to get the trunk version of the extension until a stable version is released. I do what I can to ensure that SVN versions are build-able and run-able, but clearly beta versions in SVN should not be considered stable.

Check out the current development trunk with:

$ cd extensions/ $ svn checkout http://svn.phpimpact.com/repo/MediaWiki/IssueTracker/trunk/ IssueTracker

Installation
1. Copy the IssueTracker/ directory into the extensions folder of your MediaWiki installation. Note: Make sure that the extensions/ directory and the IssueTracker/ directory are both readable and executable by everyone.

2. Add the following line to the LocalSettings.php file:

3. Create the database table, executing the following script on your MySQL administration tool. In case you are using Wiki SQL table prefixes, do not forget to add that prefix as prefix to the table name issue_tracker.

Customization
Customization options are available and can be set in the IssueTracker.config.php file.

Issue Types

You can add as many issue types as you want, for example:

Issue Status

Permissions

By default:


 * list: Any group can access the listing page.
 * view: Any group can view issues.
 * add: Any group can add issues.
 * edit: Any group can edit issues.
 * archive: Any group can archive issues.
 * delete: Any group can delete issues.
 * assign: Only the "Sysop" group can assign issues.
 * assignee: Issues can only be assigned to users in the "Devel" group.

Known Bugs
More than one issue tracker on a page is not properly supported. It looks fine, but when you create a new issue, it creates a new issue for every issue tracker on that page, with the exact same content, into the one tracker.

 1.13.3 bug found 

 the same applies for 1.14.0 also 

Open: IssueTracker/Actions/IssueTrackerActionAdd.php

Find: protected function _getUsers

Change: After the opening curly bracket ( { ), add "global $IP;"

Find: require_once 'SpecialListusers.php';

Change: to require_once $IP. 'includes/specials/SpecialListusers.php';

--Lhridley 12:41, 18 June 2009 (UTC)

License
GNU General Public Licence 2.0 or later. Copyright &copy; 2008, Federico Cargnelutti.