You can move selected elements from the main server project to a directly used project. The relations are also moved with the element(s).
Moving cannot be undone
This action cannot be undone as a new version is automatically created and committed to the Teamwork Cloud server after the selected elements are moved to a new location.
Permissions
To move the elements to other projects, you must have:
Read Resources, Edit Resources, Edit Resource Properties, and Administer Resources permissions on both source and target projects.
- You must have the read-write permission for the project branch you move elements to.
To move elements from the main server project to a used one
- In the Model Browser, select one or more elements.
- Right-click the selected elements. From the shortcut menu, choose Refactor > Move Element(s) to Other Project.
The Move Elements dialog opens. Select a package or a classifier in the target project where you want to move the elements. You will see the classifier as a possible destination if only classifier elements are selected to move. Otherwise, only packages will be shown.
Drag the selection
You can drag and drop the selected elements to the target project package or classifier instead of using the shortcut menu. This action can be performed if the following conditions are met:
- if the selected elements to move contain at least one non-classifier element, it is restricted to drop to other targets than packages.
- if the selected elements to move contain only classifiers, moving is allowed to either packages or classifiers.
- Do one of the following:
- Click Move to start moving elements or
- click Select More to specify your selection. The Select Elements dialog elements opens, in which you can:
- add or remove some elements from a selection or
- change the destination (click at the end of the row). The Select destination dialog will list destination targets by the type of the element selected to move (i.e. if it is a classifier element, classifiers will be listed in the Tree and List tabs). Otherwise only packages will be listed.
- Click OK when you are done.
A notification appears, asking if you want to check dependencies among projects. Select Yes/No to continue moving elements.
If elements being moved from the source project to the target project are dependent on other elements that are NOT moved together, the necessary usages to used projects are created in the project these elements are moved to. This is being done with the intention of keeping all the dependencies valid.
- After you move the elements, new source project and target project versions are created and automatically committed to the server. Additionally, the used project is switched to the latest version.