Page 1 of 1

customise report issue "Enter Report Details "

Posted: 13 Aug 2010, 00:36
by ismee
i want to delete necessary fields at "Enter Report Details" when reporting new issue. which should i edit?

can i set the enter report details fileds based on reporter?
when report new issues, these fields appeared:
version:
description:
status:
procedure:
remarks:

when designer update issue another fields appeared
root cause:
measure:
preventive action:

Re: customise report issue "Enter Report Details "

Posted: 16 Aug 2010, 18:34
by atrol
Copy the following lines to file config_inc.php and adjust as needed

Code: Select all

	$g_bug_report_page_fields = array(
		'category_id',
		'view_state',
		'handler',
		'priority',
		'severity',
		'reproducibility',
		'platform',
		'os',
		'os_version',
		'product_version',
		'product_build',
		'target_version',
		'summary',
		'description',
		'additional_info',
		'steps_to_reproduce',
		'attachments',
		'due_date',
	);

	/**
	 * An array of the fields to show on the bug update page.
	 *
	 * To overload this setting per project, then the settings must be included in the database through
	 * the generic configuration form.
	 *
	 * @global array $g_bug_update_page_fields
	 */
	$g_bug_update_page_fields = array (
		'id',
		'project',
		'category_id',
		'view_state',
		'date_submitted',
		'last_updated',
		'reporter',
		'handler',
		'priority',
		'severity',
		'reproducibility',
		'status',
		'resolution',
		'projection',
		'eta',
		'platform',
		'os',
		'os_version',
		'product_version',
		'product_build',
		'target_version',
		'fixed_in_version',
		'summary',
		'description',
		'additional_info',
		'steps_to_reproduce',
		'attachments',
		'due_date',
	);


Re: customise report issue "Enter Report Details "

Posted: 17 Aug 2010, 14:05
by ismee
thanks...
useful tips...
$g_bug_report_page_fields
$g_bug_update_page_fields

Re: customise report issue "Enter Report Details "

Posted: 20 Sep 2010, 23:16
by akimeu007
Found this topic useful, and also I think some other users may find useful the following config option as well:

$g_bug_view_page_fields = array (
'id',
'project',
'category_id',
'view_state',
'date_submitted',
'last_updated',
'reporter',
'handler',
'priority',
'severity',
'reproducibility',
'status',
'resolution',
'product_version',
'target_version',
'fixed_in_version',
'summary',
'description',
'steps_to_reproduce',
'attachments',
);

Re: customise report issue "Enter Report Details "

Posted: 10 May 2011, 11:29
by fotoforward
Is it also possible to show only some field in a specific categorie?

Re: customise report issue "Enter Report Details "

Posted: 23 May 2011, 21:46
by modest
I want to achieve the same thing but I do not see $g_bug_view_page_fields variable in my config_defaults_inc.php file. I am using Mantis 1.1.6.

Re: customise report issue "Enter Report Details "

Posted: 24 May 2011, 05:58
by atrol
modest, this customizing feature has been introduced with version 1.2 of MantisBT
You have to upgrade your installation if you want to use it.

Re: customise report issue "Enter Report Details "

Posted: 05 Dec 2013, 19:02
by L_Aleman
Can one remove fields like 'Priority' in versions pre Mantis 1.2?
We are currently running on 1.1.8

Re: customise report issue "Enter Report Details "

Posted: 08 Dec 2013, 15:23
by atrol
L_Aleman wrote:Can one remove fields like 'Priority' in versions pre Mantis 1.2?
We are currently running on 1.1.8
You can, but not by changing customization options. You would have to change source code of MantisBT.

Re: customise report issue "Enter Report Details "

Posted: 09 Dec 2013, 10:48
by L_Aleman
You would have to change source code of MantisBT.
Where? On each page the field comes up? report, report_adanced, update, etc...?

Thanks for your help

Re: customise report issue "Enter Report Details "

Posted: 10 Dec 2013, 18:32
by atrol
L_Aleman wrote:On each page the field comes up?
Yes

Re: customise report issue "Enter Report Details "

Posted: 18 Dec 2013, 10:47
by L_Aleman
Thank You atrol, found the fields ;o)