Page 1 of 1

Add custom fields to view issues

Posted: 26 Aug 2018, 17:47
by ArnorBld
Hi guys,

New to Mantis so bear with me :)

I have added custom field, "code_location" and I would like for it to show on the "View Issues" list. If I go to "Manage | Manage Configuration | Manage Columns" and add "code_location" into the columns list for "View Issues Columns":

... severity, code_location, status, last_updated, summary

and click the "Update Columns for Current Project" I get an error:

"APPLICATION ERROR #2601
Field "view_issues" contains invalid field "code_location"."

The name of the field as shown in the custom_field_table is "code_location" and that's how it shows in the "Manage Custom FIelds" list. So that is most definitely the name of the column.

Is it possible to add custom fields to the "View Issues" list?

Best regards,
Arnor Baldvinsson

Re: Add custom fields to view issues

Posted: 26 Aug 2018, 18:13
by atrol
Check sections "All Available Columns" of the configuration page.
I assume you will see custom_code_location in the list, which is the right value you have to enter in "View Issues Columns"

Re: Add custom fields to view issues

Posted: 26 Aug 2018, 19:00
by ArnorBld
Hi,

I added "custom_" in front of the column name and that worked, thank you so much! :) I could not find "All available columns", but adding that prefix to the column name solved the problem :)

Best regards,
Arnor

Re: Add custom fields to view issues

Posted: 26 Aug 2018, 19:08
by atrol
ArnorBld wrote: 26 Aug 2018, 19:00 I could not find "All available columns",
Should be above "View Issue Columns"
ColumnsConfig.png
ColumnsConfig.png (92.03 KiB) Viewed 5900 times

Re: Add custom fields to view issues

Posted: 26 Aug 2018, 23:17
by ArnorBld
Thanks! I was looking right at the silly thing and didn't see it ;)

This works like a charm :) Thank you so much for the help:)