FE: Create new related work item at group level
Release notes
You can now create new related epics directly from an existing epic, streamlining your workflow and improving your ability to manage complex projects. This new feature allows you to quickly establish connections between your work items, helping you maintain a clear overview of your project structure and dependencies.
Summary
This is the FE issue for the requirements found in #468222 (closed).
Proposal
- Add a new option to the
WorkItemActionslist (menu in the top-right of the page) with the label 'New related item'. - This option should only be available if the Source Work Item has the
LINKED_ITEMSwidget available. - When selected, this option should:
- Open the
CreateWorkItemModalmodal. - The
CreateWorkItemform within the modal should contain a checkbox labelled 'Relates to '. By default the checkbox should be checked. - When the
CreateWorkItemform is submitted, theworkItemCreateGraphQL mutation should be triggered using the information in the form.- if the 'relates to' checkbox above is checked, the
gidof the source work item should be included in the payload as part of thelinkedItemsWidget.workItemsIdsproperty. - if not, the
linkedItemsWidgetproperty should not be included in the payload.
- if the 'relates to' checkbox above is checked, the
- After the new item is created, a toast should appear with a link to the new item.
- Open the
Edited by Amanda Rueda