Include custom field in View Issues page

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
qatester
Posts: 21
Joined: 05 Mar 2010, 06:39

Include custom field in View Issues page

Post by qatester »

I want to include one of the custom field on the view all bugs pages, is it possible? I know I need to edit the view_issues_page_columns enumeration string but where do I find the variable to include in the array?
atrol
Site Admin
Posts: 8542
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Include custom field in View Issues page

Post by atrol »

Please use Search before posting and read the Manual
qatester
Posts: 21
Joined: 05 Mar 2010, 06:39

Re: Include custom field in View Issues page

Post by qatester »

Thanks for the link. I followed the instruction but it didn't work for me. I added a custom field called "In/Out of Scope" and I added this line in config_in.php
$g_view_issues_page_columns = array(
'id',
'status',
'summary',
'custom_In/Out_of_Scope',
);

Mantis probably doesn't like the / in custom_In/Out of Scope but I don't know how to fix it. Any suggestion?
atrol
Site Admin
Posts: 8542
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Include custom field in View Issues page

Post by atrol »

Seems that you didn't read the whole thread.
I showed a way how this can be done with configuration in database
http://www.atrol.de/mantisbt/Customview.wmv
Please use Search before posting and read the Manual
qatester
Posts: 21
Joined: 05 Mar 2010, 06:39

Re: Include custom field in View Issues page

Post by qatester »

atrol wrote:Seems that you didn't read the whole thread.
I showed a way how this can be done with configuration in database
http://www.atrol.de/mantisbt/Customview.wmv
I did exactly as you shown in the video but it didn't work either. Here is what I entered in Set Configuration Option:
Username: All users
Project Name: All projects
Configuration Option: view_issues_page_columns
Type: complex
Value: array (selection, edit, id, status, summary, custom_In/Out_of_Scope, last_updated)

The View Issues page show all the fields that I specified except for the In/Out_of_Scope column. Please note that there is a / in custom_In/Out_of_Scope. Do I need to convert the / into some special characters that Mantis can understand? What is the special char for /?
atrol
Site Admin
Posts: 8542
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Include custom field in View Issues page

Post by atrol »

you did not enter the values as shown
Stop the video at 0:35
there you can see that the array I entered contains soemething like (0 => id, 1 => .........
you ddin't enter the numbers and the =>
Please use Search before posting and read the Manual
Post Reply