Page 1 of 1

Using configuration report

Posted: 14 Jan 2018, 15:11
by titovetch
Hi,
i searched about the configuration report option and didn't found much topics cove this point.The problem is i have 10 categories and i need to set 10 sub-categories for each category and unfortunately there is no option to doing that and the old plugin(LinkedCustomFiled) not working with the new version.

i have crated a customer field and need to create a drop down with all values (100) using configuration report

Re: Using configuration report

Posted: 14 Jan 2018, 19:05
by atrol
Custom fields are configured using page "Manage Custom Field". Click the link of the custom field you want to configure.
You have to set "Possible Values".

Re: Using configuration report

Posted: 15 Jan 2018, 09:32
by titovetch
Thanks artol maybe i was not clear enough

1- i have custom fields called sub-category , i need if the user chose one of the category fields values the i can filter with the related values on the sub-category field (dependent lookup fields)


2- regarding the configuration report , i want to create a severity values for specif project so i have create configuration option

username => all users
project name => Projectx
configuration option => severity_enum_string
Type => complex
Value =>

Code: Select all

array (
  0 => 15:Bug Minor,
  1 => 16:Bug Major,
  2 => 17:Bug Block,
  3 => 19:Feature,
)

Re: Using configuration report

Posted: 19 Jan 2018, 11:24
by titovetch
Hi @artol would you please help

Re: Using configuration report

Posted: 22 Jan 2018, 22:17
by atrol
titovetch wrote:1- i have custom fields called sub-category , i need if the user chose one of the category fields values the i can filter with the related values on the sub-category field (dependent lookup fields)
You need a plugin similar to this one https://github.com/mantisbt-plugins/lin ... tom-fields
titovetch wrote: 2- regarding the configuration report , i want to create a severity values for specif project so i have create configuration option

username => all users
project name => Projectx
configuration option => severity_enum_string
Type => complex
Value =>

Code: Select all

array (
  0 => 15:Bug Minor,
  1 => 16:Bug Major,
  2 => 17:Bug Block,
  3 => 19:Feature,
)
severity_enum_string is a string, not complex.
This is the original one, adjust it to your needs
$g_severity_enum_string = '10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block';

Re: Using configuration report

Posted: 21 Mar 2018, 22:35
by mpa
Needing the same feature.
Many people do actually 8O when reading and searching this forum.

Anyway, the plugin you mentioned doesn't seems to work very well in Mantis 2.x :(

But I do got it to work with a few workarounds :)

STEP 1) change the following lines in file 'LinkedCustomFields.php':

$this->version = "1.0.1";
# $this->requires = array(
# "MantisCore" => "1.2.6, <2.30.0",
# "jQuery" => "1.8"
# );

$this->requires = array(
"MantisCore" => "1.2.6, <2.30.0",

STEP 2) Install the plugin

STEP 3) Change de database table 'plugin_linkedcustomfields_data' by your self.

DONE.

But I don't prefer this workaround.
Alternative solution might be a custom field which is only visible when a particular category is selected?

If anyone has a better solution???
Please let me know!
Thanks in advanced.

Re: Using configuration report

Posted: 04 Apr 2018, 20:06
by mpa
Got it to work with version 2.12

check this link: https://www.mantisbt.org/bugs/view.php?id=24226