View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005180 | mantisbt | custom fields | public | 2005-01-29 08:28 | 2005-04-18 10:29 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19.2 | ||||
Fixed in Version | 1.0.0a1 | ||||
Summary | 0005180: Support custom fields with dynamic possible values | ||||
Description | The user should be able to define a custom field that has a set of possible values that are dynamically generated. An example would be:
This can be supported by allowing the user to define the possible values for a custom field as a "=functionname" where "enum" + "functionname" is a custom function. The "enum" is added for security reasons. This will allow the Mantis web users to only use custom functions that produce enums, and will not allow them to use other functions that were not intended for this purpose. An example of a custom function is: # -------------------- To override custom functions or define new ones, see the following topic in the manual: http://manual.mantisbt.org/manual.customizing.mantis.custom.functions.php Since custom functions are implemented in PHP, it is possible to depend on the returned values on current user, current project, or any other criteria. | ||||
Tags | No tags attached. | ||||
related to | 0004451 | acknowledged | Populating options through a function call | |
related to | 0004683 | closed | vboctor | Is there a way to localize enumations of custom fields? |
related to | 0004640 | new | New custom field types: "Version", "User" | |
related to | 0003789 | closed | grangeway | field possible_values in table mantis_custom_fields_table |
related to | 0003961 | closed | vboctor | Add the ability to custom enumerations by project |
related to | 0003791 | closed | vboctor | Additional Custom-Field-Type "version" |
related to | 0004842 | closed | vboctor | we should be able to giva a target for a given bug. |
related to | 0005258 | closed | grangeway | Be able to enter more than 255 characters when adding a new custom field |