--- a/api/soap/mc_issue_api.php +++ b/api/soap/mc_issue_api.php @@ -691,6 +691,9 @@ function mc_issue_add( $p_username, $p_password, $p_issue ) { mci_tag_set_for_issue( $t_issue_id, $p_issue['tags'], $t_user_id ); } + # Allow plugins to post-process bug data with the new bug ID + event_signal( 'EVENT_REPORT_BUG', array( $t_bug_data, $t_issue_id ) ); + email_new_bug( $t_issue_id ); return $t_issue_id;