Page 1 of 1

Displaying custom fields

Posted: 14 Jun 2007, 17:13
by dapissarenko
Hello!

In Mantis 1.0.7 I have created two float fields - expectedEffort and actualEffort.

I want these two fields to be displayed in my reports (View Issues).

How can I do that?

TIA

Dmitri Pissarenko

Posted: 15 Jun 2007, 06:44
by deboutv
You need to add them into one or more project (do it in the project manage page).

Posted: 15 Jun 2007, 07:35
by dapissarenko
Hello!

Thanks for your answer!
deboutv wrote:You need to add them into one or more project (do it in the project manage page).
I've already done that. But they still aren't displayed in "View issues".

What else can I do?

TIA

Dmitri Pissarenko

Posted: 15 Jun 2007, 07:42
by deboutv
So check in the custom field configuration, you probably forgot to select some checkbox.

Posted: 15 Jun 2007, 07:47
by dapissarenko
deboutv wrote:So check in the custom field configuration, you probably forgot to select some checkbox.
Which one exactly?

Here is the configuration as it is at the moment:

http://dapissarenko.com/resources/2007_06_15_mantis.png

TIA

Dmitri

Posted: 15 Jun 2007, 09:15
by deboutv
Change Read/Write access, only administrator can see it/change it.

Posted: 15 Jun 2007, 09:35
by dapissarenko
deboutv wrote:Change Read/Write access, only administrator can see it/change it.
I changed read/write access to "viewer", but it still doesn't work.

See http://dapissarenko.com/resources/2007_ ... antis2.png

Did I misunderstand you?

TIA

Dmitri Pissarenko

Posted: 16 Jun 2007, 03:36
by vboctor
I think you are referring to the View Issues table rather than the filter. If this is the case, then you will find the answer on the following Wiki page:

http://www.mantisbt.org/wiki/doku.php/m ... ssues_page

Posted: 16 Jun 2007, 08:21
by dapissarenko
Thanks for your answer!
vboctor wrote:I think you are referring to the View Issues table rather than the filter. If this is the case, then you will find the answer on the following Wiki page:

http://www.mantisbt.org/wiki/doku.php/m ... ssues_page
On that page, following is written:
# Click “Manage” from Main Menu.
# Click “Manage Configuration” from “Manage” sub-menu.
# “Configuration Report” will be selected by default.
In Mantis 1.0.7, when I go (as administrator) to "Manage" -> "Manage Configuration", I see following items:

*) Permissions Report
*) Workflow Thresholds
*) Workflow Transitions
*) Email Notifications

But I don't see the "configuration report" item.

What can I try next?

TIA

Dmitri Pissarenko

Posted: 16 Jun 2007, 17:22
by vboctor
This was added in the 1.1.0x releases. I believe that this article has a part that says that if you are using pre-1.1 releases read another article that it refers to.

Posted: 20 Jun 2007, 15:00
by dapissarenko
Thanks all for the help!

Posted: 20 Jun 2007, 15:08
by dapissarenko
Hello again!

I upgraded to Mantis 1.1.0a3 and used information at

http://www.mantisbt.org/wiki/doku.php/m ... ssues_page

to configure custom fields display.

Now the custom fields are displayed, but incorrectly. Instead of their values, this is printed:

@expectedEffort@ @actualEffort@

How can I fix this error?

Thanks in advance

Dmitri Pissarenko

P. S.: I entered following stuff in configuration options:

array ('selection',
'edit',
'priority',
'id',
'sponsorship_total',
'bugnotes_count',
'attachment',
'category',
'severity',
'status',
'last_updated',
'expectedEffort',
'actualEffort',
'summary');

Posted: 20 Jun 2007, 15:38
by dapissarenko
Ignore my last question, I found a solution here:

http://www.mantisbt.org/forums/viewtopi ... ight=array