Fix updating work item notes
What does this MR do and why?
Issue: #413036 (closed)
We've changed the structure for submitting note content from a String to an Object in !121120 (diffs).
updateNote
still relied on receiving a String instead. This MR fixes it by deconstructing the object and uses the updated text for updating the note, and adds a feature spec.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Create a work item (e.g. task on an issue)
- Create a note
- Update the created note
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Nicolas Dular