How to customize the "Resolution" list?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
lchydp
Posts: 38
Joined: 11 Apr 2013, 14:21
Location: China

How to customize the "Resolution" list?

Post 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 5256 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?
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to customize the "Resolution" list?

Post 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"?
Please use Search before posting and read the Manual
lchydp
Posts: 38
Joined: 11 Apr 2013, 14:21
Location: China

Re: How to customize the "Resolution" list?

Post 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"?
Post Reply