Skip to content

API requests creating command only notes should return 2xx responses

What does this MR do?

This MR ensures that API requests to add a note that only include commands (e.g. /assign @foo) will return a response in the 200 range. Previously such API requests returned responses in the 400 range, and this caused automated tooling to show errors when things had in fact been processed correctly.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Programs that relied on the old behaviour may produce incorrect results. The old behaviour was so thoroughly confusing that it is not a significant risk. In addition, the actual effects of the API are unchanged.

Closes #35627 (closed)

Edited by Alex Kalderimis

Merge request reports