how to access existing_bug and updated_bug from within EVENT_UPDATE_BUG_DATA event?
Posted: 23 Mar 2018, 10:41
I've written a plugin that need to validate and use data contained in custom fields.
I'm able to hook the EVENT_UPDATE_BUG_DATA, but I'm not able to understand how to get existing_bug and updated_bug data.
Can anybody suggest me any example or documentation that can help me?
In the developer manuale I'm not able to find something useful.
Then I'll need to access to custom fields values, I've used custom_field_api, but how can I use them in the EVENT_UPDATE_BUG_DATA event with existing_bug and updated_bug records ?
I'm able to hook the EVENT_UPDATE_BUG_DATA, but I'm not able to understand how to get existing_bug and updated_bug data.
Can anybody suggest me any example or documentation that can help me?
In the developer manuale I'm not able to find something useful.
Then I'll need to access to custom fields values, I've used custom_field_api, but how can I use them in the EVENT_UPDATE_BUG_DATA event with existing_bug and updated_bug records ?