Resolve "Task status not refreshed when modal reopened"
What does this MR do and why?
This MR adds task data to the updateWorkItemFromTask
mutation payload. This ensures we have Apollo cache automatically updated after mutation, and when we open a task modal again, we have correct state reflected in the modal.
How to set up and validate locally
- Enable work items feature flag
Feature.enable(:work_items)
- Open an issue, add a task to issue description and convert it to Task work item.
- Open Task modal and change Task state.
- Close the modal
- Open the modal again and make sure the state is correct
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.
Related to #367701 (closed)
Edited by Natalia Tepluhina