Skip to content

Add health_status to webhook payload data

What does this MR do and why?

Add health_status to webhook payload data

Screenshots or screen recordings

issue event

image

note event

image

How to set up and validate locally

  1. Setup a project hook http://gdk.test:3000/flightjs/Flight/-/hooks to fire on note and issue events: image
  2. Create a new issue
  3. Add a note
  4. Change the health status
  5. Add a note
  6. Close the issue
  7. Check the logs: http://gdk.test:3000/flightjs/Flight/-/hooks/ (click edit next to the relevant hook, then view details next to the relevant events). You should see the newly added health_status (under object_attributes for issue events and under issue for note events)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading