Search found 3 matches

by kaotul
01 Nov 2016, 10:26
Forum: General Discussion
Topic: Assign custom field in EVENT_REPORT_BUG_DATA
Replies: 3
Views: 5211

Re: Assign custom field in EVENT_REPORT_BUG_DATA

cproensa wrote:kaotul
custom fields are not part of the BugData object
you have to set custom fields using api calls

Thank you very much. I appreciate it.
//Kaotul
by kaotul
26 Oct 2016, 02:34
Forum: General Discussion
Topic: Assign custom field in EVENT_REPORT_BUG_DATA
Replies: 3
Views: 5211

Re: Assign custom field in EVENT_REPORT_BUG_DATA

For your info:

This custom filed has been linked to all projects.


Thank your for any advice.
//Kaotul
by kaotul
25 Oct 2016, 09:54
Forum: General Discussion
Topic: Assign custom field in EVENT_REPORT_BUG_DATA
Replies: 3
Views: 5211

Assign custom field in EVENT_REPORT_BUG_DATA

class ... { ... function init() { plugin_event_hook( 'EVENT_REPORT_BUG_DATA', 'setFormalDate' ); } } function setFormalDate( $p_event, $p_bug_data ) { $p_bug_data->due_date = time(); $p_bug_data->custom_Formal_Answer = time(); return $p_bug_data; } } Only native column can be assigned. Nothing happe...