How to change when the resolution drop down list appears ?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
dmerget
Posts: 2
Joined: 12 Jun 2015, 13:15

How to change when the resolution drop down list appears ?

Post by dmerget »

Hello,

I'm new at configuring Mantis and have been setting up a custom workflow to suit our needs (this is under Mantis version 1.2.19).

Setting "Status where an issue is considered resolved" to one of the new statuses, I now have the Resolution drop down list appearing at every subsequent status change.

Statuses are as follow :
- ...
- Fixed
- In test
- Closed

Devs would mark the issue as Fixed and set the resolution, then the release would be installed to the test system and the issue would be moved to In Test. The problem we have is that the resolution drop down list is also showing when trying to set the issue "In test".

It's not a big problem but an annoyance though
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to change when the resolution drop down list appears

Post by atrol »

It's coded to show the resolution dropdown if the status is >= resolved status.
This is the exact condition (snippet from bug_status_change.php)

Code: Select all

if ( ( $t_resolved <= $f_new_status ) && ( ( $t_closed > $f_new_status ) || ( $t_bug_is_open ) ) ) { ?>
You would have to change the source code to get exactly what you want.
Please use Search before posting and read the Manual
dmerget
Posts: 2
Joined: 12 Jun 2015, 13:15

Re: How to change when the resolution drop down list appears

Post by dmerget »

Thanks for the tip, I'll be looking into changing that part
Post Reply