EVENT_BUGNOTE_ADD_FORM (Execute)
This event allows plugins to do processing or display form elements in the bugnote adding form. It is triggered immediately after the bugnote text field.Any output here should be defining appropriate rows and columns for the surrounding<table>elements.Parameters
<Integer>: Bug ID
EVENT_BUGNOTE_ADD_MODERATE_CHECK (First)
This event checks whether a new issue note will require moderation.Parameters
<Integer>: Bug IDReturn Value
<Boolean>: Return true if the issue note will require moderation, false otherwise
EVENT_BUGNOTE_ADD_MODERATE (First)
This event allows plugins to intercept submitted issue notes for moderation. It is triggered before the issue note is saved to the database, allowing the plugin to queue the note data for moderation. If moderation is required, the note is not created in the database until it is approved. The queued data is stored in a separate moderation queue table.Parameters
<Integer>: Issue ID to add the note to <Array>: Note data array from the request payload (command format)Return Value
<Boolean>: Return true to indicate the bugnote was queued for moderation (prevents normal creation), false to allow normal processing
EVENT_BUGNOTE_DATA (Chained)
This event allows plugins to preprocess bugnote contents.Parameters
<String>: Bugnote text <String>: Bug IdReturn value
<String>: Updated Bugnote text
EVENT_BUGNOTE_ADD (Execute)
This event allows plugins to do post-processing of bugnotes added to an issue.Parameters
<Integer>: Bug ID <Integer>: Bugnote ID <array>: Files info (name, size, id), starting 2.23.0
EVENT_BUGNOTE_EDIT_FORM (Execute)
This event allows plugins to do processing or display form elements in the bugnote editing form. It is triggered immediately after the bugnote text field.Any output here should be defining appropriate rows and columns for the surrounding<table>elements.Parameters
<Integer>: Bug ID <Integer>: Bugnote ID
EVENT_BUGNOTE_EDIT (Execute)
This event allows plugins to do post-processing of bugnote edits.Parameters
<Integer>: Bug ID <Integer>: Bugnote ID
EVENT_BUGNOTE_DELETED (Execute)
This event allows plugins to do post-processing of bugnote deletions.Parameters
<Integer>: Bug ID <Integer>: Bugnote ID
EVENT_TAG_ATTACHED (Execute)
This event allows plugins to do post-processing of attached tags.Parameters
<Integer>: Bug ID <Array of Integers>: Tag IDs
EVENT_TAG_DETACHED (Execute)
This event allows plugins to do post-processing of detached tags.Parameters
<Integer>: Bug ID <Array of Integers>: Tag IDs