Hide EE feature attributes visible on work items detail page for personal projects in personal namespace (projects without group)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
The iteration and weight attributes are visible on the work items detail page for free tier projects in personal namespace, despite this feature not being available in the free tier. The attribute is not shown on the legacy issue page.
Steps to reproduce
Prerequisites:
-
Feature.enable(:work_items_view_preference)to enable the New issues toggle - Enable the new issues experience using the toggle
New work item form:
- Create one under personal project
- Go to Project > Issues
- Click on the
New issuebutton - The weight and iteration attributes are shown on the modal
- Try to add iterations, the API would throw an error
What is the expected correct behavior?
The weight and iteration widget should not be shown in a free tier project.
Possible solution
- Avoid sending the widgets in the query response of work items and widget definition itself.
Edited by 🤖 GitLab Bot 🤖
