How should I customize some field in "View Issue Details"

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
jamesyang2005
Posts: 7
Joined: 22 Feb 2013, 00:46

How should I customize some field in "View Issue Details"

Post by jamesyang2005 »

Hi ~

I'm sorry to raise my hand for another one question
What if we access "View Issue Details" to see some one question in detail.
There're a lots of field such as priority, severity , reproducibility , platform , os , os version and resolution.
How can I let those field not appearing in the screen ?
What I need is to keep "reporter , assigned to and status.
i'm sorry to bothering you and thanks again for your support in advance.

James
atrol
Site Admin
Posts: 8588
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How should I customize some field in "View Issue Details

Post by atrol »

Add the following lines to file config_inc.php and adapt to your needs

Code: Select all

	$g_bug_view_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',
		'tags',
		'attachments',
		'due_date',
	);
Please use Search before posting and read the Manual
jamesyang2005
Posts: 7
Joined: 22 Feb 2013, 00:46

Re: How should I customize some field in "View Issue Details

Post by jamesyang2005 »

Dear Atrol,
Thanks for your help.
Finally, I searched this forums and find a good solution as below.

First step, I took below's code and put it into my config_inc.php file.

$g_enable_profiles = OFF;
$g_tag_view_threshold = NOBODY;
$g_tag_attach_threshold = NOBODY;

Secondly, I customized below's title as the name I need and transferred it into our language.
priority, severity , reproducibility

Currently, it work very smoothly and meet our requirement with 80~90%.
It's quite good and thank you again for support.

Only one thing I'm considering is " How should I define the"search interface(access from view issue link) " as hidden as default.
or move the "search " interface from top of "view issues" into the bottom of "view issues".
Maybe it's ok or not. I'm trying to figure out and search for help.

Thanks again , you really support us a lot.

James
atrol
Site Admin
Posts: 8588
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How should I customize some field in "View Issue Details

Post by atrol »

jamesyang2005 wrote: or move the "search " interface from top of "view issues" into the bottom of "view issues".
Add the following line to config_inc.php

Code: Select all

$g_filter_position	= FILTER_POSITION_BOTTOM;
Please use Search before posting and read the Manual
Post Reply