Hi
I had set custom severity values using the enum strings. For a given value, I would like to set a specific date/time duration instead of having the reporter fill up the field. For example, if the defect is a severity 3, it should set the due date as today + 5 days. If it is severity 2, it should be today +3 days and if it is severity 1, it should be today + 4 hours.
How could I implement such logic?
Due date by Severity
Moderators: Developer, Contributor
Re: Due date by Severity
You could write a custom function or a plugin for it.
For more details see https://www.mantisbt.org/docs/master/en ... ustomfuncs and
https://www.mantisbt.org/docs/master/en ... ev.plugins
For more details see https://www.mantisbt.org/docs/master/en ... ustomfuncs and
https://www.mantisbt.org/docs/master/en ... ev.plugins
Re: Due date by Severity
I do have a plugin available for exactly that pupose, see:
https://www.nuy.info/mantis2/view.php?id=7
https://www.nuy.info/mantis2/view.php?id=7
Re: Due date by Severity
Thanks. I saw it and downloaded the plugin. I noticed the plugin allowed the setting of due dates by category / priority fields. How can I change it for "severity"?
Re: Due date by Severity
That would require quite some coding, either to make it flexable or to change it in full. Curretly such change is not foreseen. In principle you should be able to achieve the same using the priority field, that is a matter of definition.
Re: Due date by Severity
I have tried to download the plugin without success. Can someone please link it as a reply? Thanks in advance.cas wrote: ↑02 Jan 2019, 11:08 I do have a plugin available for exactly that pupose, see:
https://www.nuy.info/mantis2/view.php?id=7
Re: Due date by Severity
Here is the latest version for you
- Attachments
-
- SetDuedate403.zip
- (7.4 KiB) Downloaded 433 times