Reject conversion of Epic WIs that are a sync version of legacy Epic
To be compatible with the epic APIs for now we can't allow to change the type of an epic work item if there is an associated legacy epic. We also need to delete the work item once a legacy epic gets deleted to keep the system in sync.
显示
- ee/app/models/ee/epic.rb 1 个添加, 1 个删除ee/app/models/ee/epic.rb
- ee/app/models/ee/work_item.rb 30 个添加, 0 个删除ee/app/models/ee/work_item.rb
- ee/spec/models/work_item_spec.rb 49 个添加, 1 个删除ee/spec/models/work_item_spec.rb
- ee/spec/requests/api/graphql/mutations/work_items/convert_spec.rb 38 个添加, 0 个删除...requests/api/graphql/mutations/work_items/convert_spec.rb
- ee/spec/requests/api/graphql/mutations/work_items/delete_spec.rb 49 个添加, 0 个删除.../requests/api/graphql/mutations/work_items/delete_spec.rb
- ee/spec/requests/api/graphql/mutations/work_items/update_spec.rb 60 个添加, 0 个删除.../requests/api/graphql/mutations/work_items/update_spec.rb
- ee/spec/services/ee/issuable/destroy_service_spec.rb 39 个添加, 8 个删除ee/spec/services/ee/issuable/destroy_service_spec.rb
- locale/gitlab.pot 6 个添加, 0 个删除locale/gitlab.pot
- spec/requests/api/graphql/mutations/work_items/convert_spec.rb 26 个添加, 0 个删除...requests/api/graphql/mutations/work_items/convert_spec.rb
加载中
想要评论请 注册 或 登录