How to add the 'Reopen' and 'Close' function buttons

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
siauser
Posts: 18
Joined: 12 Mar 2015, 08:46

How to add the 'Reopen' and 'Close' function buttons

Post by siauser »

Hi.

I've successfully added a new status 'Rejected' for this 1 project. Does anyone know how to add the function buttons 'Reopen' and 'Close' for the reporter? I've attached some screen grabs for reference.

I've googled but then got more confused than ever! Thanks so much. I'm a newbie to Mantis by the way :roll:
Attachments
Mantis_Rejected_Status_ViewforReporters.zip
Reopen and Close function buttons
(37.9 KiB) Downloaded 283 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to add the 'Reopen' and 'Close' function buttons

Post by atrol »

Check page Manage > Manage Configuration > Workflow Thresholds
There are rows for "Allow Reporter to close Issue" and "Allow Reporter to re-open Issue"
Please use Search before posting and read the Manual
siauser
Posts: 18
Joined: 12 Mar 2015, 08:46

Re: How to add the 'Reopen' and 'Close' function buttons

Post by siauser »

Hi atrol.

Yes, I've checked earlier and both rows are ticked.

Is it because I added the new status 'rejected', that's why the buttons are not visible for the new status?

Thanks a mil !
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to add the 'Reopen' and 'Close' function buttons

Post by atrol »

Does the problem just occur when working as a reporter or also when working as a developer/manager/administrator?
Check also "Workflow Transitions" page section "WORKFLOW". Is it allowed to change to the requested status if current status is rejected?

Which version of MantisBT do you use?
Please use Search before posting and read the Manual
siauser
Posts: 18
Joined: 12 Mar 2015, 08:46

Re: How to add the 'Reopen' and 'Close' function buttons

Post by siauser »

Hi atrol.

We are using MantisBT version 1.2.15.

The problem occurs for all the roles reporter/developer/manager/administrator only for the rejected status.

I had added 'Rejected' as a new new status for only this 1 project as the other projects don't require this status. Do I need to do some configurations on the config scripts? I've checked the workflow transitions page section but there's no reopen option for rejected which is the default for both resolved and closed status. I've highlighted these in the attachment.

Thanks a million for your attention!
Attachments
No Reopen option for new rejected status.zip
(27.79 KiB) Downloaded 278 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to add the 'Reopen' and 'Close' function buttons

Post by atrol »

siauser wrote:We are using MantisBT version 1.2.15.
As a first step you should upgrade to 1.2.19.
Please use Search before posting and read the Manual
siauser
Posts: 18
Joined: 12 Mar 2015, 08:46

Re: How to add the 'Reopen' and 'Close' function buttons

Post by siauser »

Hi atrol.

The technical management team is currently looking into upgrading the version.

Meantime, is there a way with the current version to add the 'Reopen' and 'Close' labels for the rejected status?

Thanks :oops:
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to add the 'Reopen' and 'Close' function buttons

Post by atrol »

Upgrading from 1.2.15 to 1.2.19 takes about 10 minutes.

I don't know if your problem is caused by your configuration or a bug in MantisBT 1.2.15.
I also don't know if upgrading to 1.2.19 will fix your problem, but it makes not much sense to search for a problem in 1.2.15 and maybe finally find that it has been fixed in 1.2.19.
Please use Search before posting and read the Manual
siauser
Posts: 18
Joined: 12 Mar 2015, 08:46

Re: How to add the 'Reopen' and 'Close' function buttons

Post by siauser »

Hi atrol.

Noted your advice with thanks.

Where can I find the upgrade instructions, pls?

Thanks very much once again.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to add the 'Reopen' and 'Close' function buttons

Post by atrol »

https://www.mantisbt.org/docs/master-1. ... LL.UPGRADE

You even don't have to backup the database and to run admin/install.php as there are no database changes since 1.2.15
Please use Search before posting and read the Manual
siauser
Posts: 18
Joined: 12 Mar 2015, 08:46

Re: How to add the 'Reopen' and 'Close' function buttons

Post by siauser »

Hi atrol.

Thank you very much, you've been such a great help!

If it were left to me, I would have upgraded it already. But I guess I'll have to let my tech team deal with this as there are approval processes to go through before an upgrade can be done :cry:
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to add the 'Reopen' and 'Close' function buttons

Post by atrol »

siauser wrote:as there are approval processes to go through before an upgrade can be done :cry:
There is probably something wrong with the processes in general. You are running a outdated version with lot of known security issues in it.
Please use Search before posting and read the Manual
Post Reply