Product SiteDocumentation Site

5.5.4. Bugnote Actions

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_DATA (Chained)

This event allows plugins to preprocess bugnote contents.

Parameters

  • <String>: Bugnote text
  • <String>: Bug Id

Return 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