Retrieve custom field value from php code
Posted: 13 Jul 2011, 15:40
Hello,
I'm pretty new in Mantis and trying to do some customizations.
I'm writing a custom function (after a bug is created) and would like to retrieve the values of a custom field (Tester in my case, which is an enumeration field).
I can retrieve value of default field by the following code
$t_bug = bug_get($p_issue_id);
$t_priority = $t_bug->priority;
Does someone know how to do ?
Thank you in advance,
Georges.
Ps: sorry if I posted in bad forum section or if the question has already been answered somewhere. I didn't find anything.
I'm pretty new in Mantis and trying to do some customizations.
I'm writing a custom function (after a bug is created) and would like to retrieve the values of a custom field (Tester in my case, which is an enumeration field).
I can retrieve value of default field by the following code
$t_bug = bug_get($p_issue_id);
$t_priority = $t_bug->priority;
Does someone know how to do ?
Thank you in advance,
Georges.
Ps: sorry if I posted in bad forum section or if the question has already been answered somewhere. I didn't find anything.