Skip to content

Fix JSON payload for external status checks

What does this MR do and why?

Describe in detail what your merge request does and why.

  • Fixes the JSON payload being sent while making the POST request to the external status check URL by adding the header 'Content-Type': 'application/json' while sending the request.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Setup an external status check
  2. Use any service like https://requestcatcher.com/ and set it as the external status check URL.
  3. Create an MR and observe the payload received. It should be a JSON payload and not a String as compared to the current version on master.
  4. To emit more events for testing, update this MR like changing from Draft to Ready or adding labels, assignees, reviewers etc.

MR acceptance checklist

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

Closes #371609 (closed)

Edited by Huzaifa Iftikhar

Merge request reports