Page 1 of 1

How to customize the "Resolution" list?

Posted: 16 Nov 2013, 13:30
by lchydp
Hello moderator!
I have customized the statuses of MantisBT.
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:disputed,70:committed,75:failed,80:resolved,90:closed,100:rejected';
Now if I change a status of a bug to 'rejected',resolution list is also shown just like 'resolved' and 'closed'.
reject.JPG
reject.JPG (13.79 KiB) Viewed 5260 times
The customized status 'rejected' means the submitted issue is rejected to be fixed,and the issue is closed.
So there is only one value,"won't fix",should be listed in "Resolution" list to 'rejected',other values are redundant.Can I modify the "Resolution" list to 'rejected',but keep those to 'resolved' and 'closed' not to be changed?

Re: How to customize the "Resolution" list?

Posted: 16 Nov 2013, 14:33
by atrol
There is no configuration option for it.
Be also aware that there is also the bug update page, where you can change the status and the resolution in one step.

You would have to write a plugin which uses JavaScript to dynamically change the lists.

You should think about removing the "rejected" status.
Do you really need "status = closed with resolution = won't fix" and "status = rejected with resolution = won't fix"?

Re: How to customize the "Resolution" list?

Posted: 17 Nov 2013, 13:58
by lchydp
Oh,thank you very much!
atrol wrote:There is no configuration option for it.
Be also aware that there is also the bug update page, where you can change the status and the resolution in one step.

You would have to write a plugin which uses JavaScript to dynamically change the lists.

You should think about removing the "rejected" status.
Do you really need "status = closed with resolution = won't fix" and "status = rejected with resolution = won't fix"?