Skip to content

Create, Update, Destroy note on work items based on notes widget availability

Alexandru Croitor requested to merge notes_widget_create_note_mutation into master

What does this MR do and why?

This MR simply modifies the existing created, update, destroy mutations on notes to check for notes widget availability. And adds some related specs.

Because WorkItem model derives from Issue, we need to ensure that if a work item disables the notes widget it is still not possible to mutate the note(s) through endpoints still using legacy Issue model

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.

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 Alexandru Croitor

Merge request reports