Update issue description when task title/state changes
What does this MR do and why?
Update issue description after changing task title or state in the task modal. Use workItemTaskUpdate
, which flushes the cached description of the parent issue.
Move mutations to the work item widgets, to make them more self-contained . Have to pass down workItemParentId
to determine which update mutation to use, so made a shared function for that. Maybe it should be a Vue mixin I don't know.
How to test
- Enable
work_items
feature flag - Create (or edit) an issue. Add a checklist item to the description
- Hover the checklist item > Create work item
- Create the work item and click the title to edit
- Change title or status
- See title of the task change in issue description after next
realtime_changes
update
Edited by Simon Knox