Skip to content

Add iteration support for work items

Deepika Guliani requested to merge dg-support-iteration-for-work-item into master

What does this MR do and why?

This MR adds the work items iterations widget, using the UI mockups #367456 (designs)

Screenshots or screen recordings

Screenshots Screenshots
Screenshot_2022-10-11_at_9.49.01_AM Screenshot_2022-10-11_at_9.48.52_AM
Screenshot_2022-10-11_at_9.48.35_AM Screenshot_2022-10-11_at_9.58.35_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable the feature flag
    Feature.enable(:work_items)
    Feature.enable(:work_items_mvc_2)
  2. Make sure you are on the ee version of GitLab to check the iteration capability of work items
  3. Open any issue without any iteration
  4. Create a task from the issue(by click the add button from the tasks section of the issue)
  5. Now Open the task in the modal/full view , see that no iteration is associated with the task
  6. Now try to manually edit the iteration by choosing from the list when you focus on the input
  7. See that the iteration is assigned to the task
  8. Try creating the a new task from an issue already having an iteration associated with it
  9. check that the task created has the iteration of the parent ( in this case issue )
  10. You can also manually edit the iteration even when it is already associated with the task on. creation

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Check for canUpdate of iteration - different text
  • mobile version of the view
  • Check the /new route version for work_items - created without any parent , no iteration associated
Edited by Deepika Guliani

Merge request reports

Loading