Skip to content

Fix updating work item notes

Nicolas Dular requested to merge nd/fix-updating-work-item-notes into master

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

  1. Create a work item (e.g. task on an issue)
  2. Create a note
  3. 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.

Edited by Nicolas Dular

Merge request reports

Loading