how to access existing_bug and updated_bug from within EVENT_UPDATE_BUG_DATA event?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
asettico
Posts: 3
Joined: 17 Sep 2010, 15:08

how to access existing_bug and updated_bug from within EVENT_UPDATE_BUG_DATA event?

Post by asettico »

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 ?
Starbuck
Posts: 219
Joined: 14 Feb 2006, 02:53
Location: USA
Contact:

Re: how to access existing_bug and updated_bug from within EVENT_UPDATE_BUG_DATA event?

Post by Starbuck »

Please re-post in the plugins general discussions forum. I have some info which might help.
If you want Mantis to work differently, use or create a plugin. Visit the Plugins forums.
Ask developers to create a plugin that you need - and motivate them to help you!
Post Reply