Now i have some questions as listed below:
1. How to create the database corresponded to the plugin(in order to store whiteList and blackList)? Is there any api function in MantisBT that can help do this?
2. How to get whiteList and blackList from the created plugin database? Is db_query() function in database_api.php enough?
3. After the flow, if enabled column is set to 0, could I just create a BugData instance, then set all the fileds, then call create() function to create an issue? And how to set the monitor of this issue(because there seems to be no filed about monitor in a BugData instance).
4. In the process of setting fields of BugData instance, how to get reporter_id and reporter_name(although it seems that reporter name is not needed in the setting, title of notification email is expected to include the reporter's name)? By querying the database or is there another way to do this?
It is my first time to develop a MantisBT plugin, so there may be some things i haven't considered yet. Could anyone please give me any ideas or advice? Thanks very much.
