Multiple entries in a Custom field in Mantis

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
jithinkcs
Posts: 72
Joined: 29 Jan 2010, 08:20

Multiple entries in a Custom field in Mantis

Post by jithinkcs »

Hai how can i add multiple entries in a custom field.Like Add note options. And it should be listed in the filter and search option.



Regards

Jithin k
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Multiple entries in a Custom field in Mantis

Post by atrol »

jithinkcs wrote:multiple entries
Do you mean more than one row with it?
Please use Search before posting and read the Manual
jithinkcs
Posts: 72
Joined: 29 Jan 2010, 08:20

Re: Multiple entries in a Custom field in Mantis

Post by jithinkcs »

Hai Atrol,

Thanks for your support.
Suppose i created a custom field 'version' in one project. Type is string . And while closing each bug the version value has to be changed. ie after updating the version the older version values should be there.Any idea ?


Regards

Jithin k
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Multiple entries in a Custom field in Mantis

Post by atrol »

Ah OK, now I got it. (At least I think so)

AFAIK this is not possible with standard customization, but should be possible by changing the sourcecode. (but I am pretty sure that this a lot of work)
The bug history contains all information you need for this.

As a wish for future versions of MantisBT you should enter a feature request in MantisBT's own tracker.
Please use Search before posting and read the Manual
jithinkcs
Posts: 72
Joined: 29 Jan 2010, 08:20

Re: Multiple entries in a Custom field in Mantis

Post by jithinkcs »

Hai Atrol,

I would like to create my own custom field type (Note etc).Ie the custom field should be similar as bugnote in Mantis. Can you tell me where i have to modify to make a custom field almost similar to bugnote. [ The custom field should have all the functionality of bugnote]

Regards

Jithin k
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Multiple entries in a Custom field in Mantis

Post by atrol »

Hi Jiffin,
I will not be able to give you step by step instructions how this can be done
To get an impression how custom fields are implemented in MantisBT you should start having a look at
core/custom_field_api.php
Please use Search before posting and read the Manual
Post Reply