Hi,
I updated Mantis from a version 1.1.8 to 1.2.17. Before, I used myreport plugin to customize the report fields for each project.
Now, myreport plugin isn't supported anymore and I'd like to find another way to do the same.
I saw that we can configure a global parameter on the config_inc file but I haven't see something to distinguish project :
$g_bug_report_page_fields = array('category_id','view_state','reproducibility','summary','description','additional_info',
'attachments','due_date');
Can anyone help me please?
Regards
How to customize report issues for each project
Moderators: Developer, Contributor
Re: How to customize report issues for each project
I did some test during the day and I maybe have a interesting workaround.
I did some tests on the "manage configuration" part.
I tried to add a new option named "bug_report_page_fields" linked to a particular project.
Concerning the value, I used an array (the same way as the line on the php file).
With this configuration, I can see that the report issue shows only global fields I chose + the custom fields associated on the project.
I did some tests on the "manage configuration" part.
I tried to add a new option named "bug_report_page_fields" linked to a particular project.
Concerning the value, I used an array (the same way as the line on the php file).
With this configuration, I can see that the report issue shows only global fields I chose + the custom fields associated on the project.
Re: How to customize report issues for each project
Example for a minimum report page:
Goto page: Manage > Manage Configuration
At the bottom of the page you will find a section: "Set Configuration Option"
Enter the following values:
Username: All Users
Project: Your Project
Configuration Option: bug_report_page_fields
Type: Complex
Value:
array (
1 => 'category_id',
2 => 'summary',
3 => 'description',
)
Click button: Set Configuration Option
Goto page: Manage > Manage Configuration
At the bottom of the page you will find a section: "Set Configuration Option"
Enter the following values:
Username: All Users
Project: Your Project
Configuration Option: bug_report_page_fields
Type: Complex
Value:
array (
1 => 'category_id',
2 => 'summary',
3 => 'description',
)
Click button: Set Configuration Option