AutoAssign is a powerful yet simple plugin for Mantis Bug Tracker (MantisBT) that automates the assignment of issues. It allows you to define rules that automatically assign a specific developer to a reported bug based on the project and the reporter.
AutoAssign hooks into the EVENT_REPORT_BUG event in MantisBT. When a new bug is reported:
- The plugin checks the project and the reporter of the new issue.
- It looks up its defined policy rules to see if there is a mapping for this specific Project + Reporter combination.
- If a match is found, the bug is automatically assigned to the configured Handler (Developer).
- An event is logged indicating the automatic assignment.
In many workflows, specific developers are responsible for issues coming from specific clients, departments, or testers. Manually assigning every single bug can be tedious and prone to human error.
AutoAssign solves this by:
- Reducing Triage Time: Bugs land directly in the queue of the right developer immediately after reporting.
- Improving Response Time: Developers are notified instantly since they are assigned upon creation.
- Workflow Consistency: Ensures that assignments follow your defined team structure without manual intervention.
This plugin allows anyone to use it in their MantisBT installation.
- MantisBT Core 2.0.0 or higher.
- Download: Clone this repository or download the source code.
- Deploy: Copy the
AutoAssignfolder into thepluginsdirectory of your MantisBT installation.- Path example:
mantisbt/plugins/AutoAssign
- Path example:
- Install:
- Log in to MantisBT as an administrator.
- Navigate to Manage > Manage Plugins.
- Find AutoAssign in the list of available plugins.
- Click Install.
Once installed, the plugin is active and ready to be configured.
To define your assignment rules:
- Go to Manage > Manage Plugins.
- Click on the AutoAssign link to open the configuration page.
- Select Project: exact matching is done per project. Select the relevant project from the dropdown.
- Create Rule:
- Reporter: Select the user who reports the bugs (e.g., a specific QA member or Client user).
- Developer: Select the developer who should receive these bugs.
- Click Add Policy.
In this image, all new tickets in zz-SANDBOX created by Reporter 1 will be automatically assigned to Developer 1.
- View Rules: Existing rules for the selected project are listed on the configuration page.
- Delete Rules: You can remove any obsolete rule by clicking Delete next to the entry.
We welcome contributions to improve AutoAssign!
- Fork the repository.
- Create your feature branch (
git checkout -b feature/NewFeature). - Commit your changes (
git commit -m 'Add some NewFeature'). - Push to the branch (
git push origin feature/NewFeature). - Open a Pull Request.
This project is open-source and available under the MIT License.
You are free to use, modify, and distribute this software, even for commercial purposes.