Important
This plugin is currently unsupported. If you are interested in taking over its
maintenance, please open an issue
or post a message in the MantisBT Gitter channel
to request access.
Copyright (c) 2010, 2024 Cas Nuy & Istvan Baktai
Released under the GNU General Public License version 3.
See the Changelog.
This plugin sets an Issue's due date based on its priority.
- MantisBT 2.0.0 or above
- Install the plugin's code
- From a zip/tarball
- Download the plugin's latest release from GitHub
- Create a new directory
SetDueDate(note the capital 'A', it's case-sensitive) under MantisBT's/pluginsdirectory - Extract all files into the new directory
- From the source repository
In MantisBT's/pluginsdirectory, clone the repositorygit clone https://github.com/mantisbt-plugins/SetDueDate
- From a zip/tarball
- Go to Manage -> Manage Plugins and install the plugin.
This plugin sets the due date based on the priority of the issue if the due date field left empty or the issue would be due when the issue is submitted (this could happen rarely if the user selects the current date as a due date, but doesnt set the hh:mm properly).
If the priority is not defined in the SetDueDate.php and the Config_edit.php then the default value is applied.
If you have other priorities than the default, or the numeric values assigned to these
priorities are different from the default then open your config_inc.php file and search
for the following: $g_priority_enum_string and modify the SetDueDate.php and the
Config_edit.php according to your setup.
If you want to force these settings for all the reported issues then simply revoke users
to access the due date field by then add the following line to your config_inc.php:
$g_due_date_update_threshold = NOBODY;
If let's say you want developers to set their own due dates, but you want your reporters
to be forced to use the default ones, you can use this:
$g_due_date_update_threshold = DEVELOPER;
As of version 3, it is also possible to set the number of days by project/category. In case this is used, it will override the priority settings. This is only available for defined categories defined per project.
You can use the Reminder plugin to send emails when the due date is getting near.
Please file bug reports and ask questions in the GitHub issues tracker.
You can use the MantisBT Gitter channel to discuss with the Community.