Skip to content

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

  1. Enable work items feature flag
    Feature.enable(:work_items)
  2. Open an issue, add a task to issue description and convert it to Task work item.
  3. Open Task modal and change Task state.
  4. Close the modal
  5. 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.

Related to #367701 (closed)

Edited by Natalia Tepluhina

Merge request reports

Loading