Day to due date / Calculated column in View Issues

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
cm_mantis
Posts: 1
Joined: 12 Oct 2021, 11:30

Day to due date / Calculated column in View Issues

Post by cm_mantis »

We are using Mantis 1.3.20. Mantis is configured to show the "due date" as a column on the page "View Issues". Is it possible to add a column "days until due date"? So a column that is not a value from the database, but a calculated value derived from the due date. I could not find a plugin or built-in method to do this. Does anyone know if and how this is possible? I would prefer not to change any Mantis source code, so that upgrading is no issue. Any suggestions are much appreciated. Thanks!
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Day to due date / Calculated column in View Issues

Post by cas »

It indeed is not available out of the box, but ......you can create your own plugin to add the number of days between brackets when displaying the duedate :mrgreen:
rondezo
Posts: 85
Joined: 09 Feb 2021, 09:18

Re: Day to due date / Calculated column in View Issues

Post by rondezo »

Hello everyone Can anyone explain in detail how to make a calculated field in Mantis using the formula? Preferably with a concrete example. Maybe someone can share the plugin? Thanks for any help.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Day to due date / Calculated column in View Issues

Post by cas »

What do you mean with "the formula"?
rondezo
Posts: 85
Joined: 09 Feb 2021, 09:18

Re: Day to due date / Calculated column in View Issues

Post by rondezo »

cas wrote: 19 Oct 2021, 12:48 What do you mean with "the formula"?
Formula is - A+B=C, A - numeric value in the first column, B - numeric value in the second column, C - calculated value in the third column
Ths for help
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Day to due date / Calculated column in View Issues

Post by cas »

This is not available out of the box, you need to either create a plugin( :idea: ) or adjust source code( :cry: )
Post Reply