Copy and Move Folders Across Projects
Overview
You can copy or move a folder in Test Manager, with all its subfolders and test cases, to another folder in the same project or to another project. Each action can cover one folder, several folders, or every folder in the project. The folder tree arrives with its names and order intact, so you don't have to recreate folders by hand and then sort test cases into them.
Common uses:
- Bring a team's folder tree into a shared release project.
- Start a new project from the structure of an existing one, without its test cases.
- Reorganize a project by moving a folder, or several folders, under a new parent.
| Copy | Move | |
|---|---|---|
| Destination | Any folder, or the root, in the same project or another project | Any folder, or the root, in the same project or another project |
| The source folders | Stay where they are, unchanged | Leave their current location. When moved to another project, they and their test cases no longer appear in the source project |
| Test case IDs | Copies get new IDs | Test cases keep their IDs |
| Folders only | Available: copies the folder structure without test cases | Not available: a move always includes the test cases |
To copy or move selected test cases rather than whole folders, see Copy and Move Test Cases. To use the same test cases in several projects without making copies, see Share Test Cases Across Projects.
Before you begin
- Roles: users with the Admin or User role can copy and move folders. The Guest role is read-only and doesn't see these actions. See RBAC Roles and Permissions.
- Destination projects: the Project list shows only the projects where you can add folders and test cases.
- Which folders: you can copy and move the folders in your project's test case repository. Shared Incoming isn't a folder you can copy or move.
- Size: one copy or move can include up to 50,000 test cases. For a larger tree, copy or move its subfolders in separate actions.
- One at a time: a project can run one folder copy or move at a time.
Copy or move one folder
- Open the project and go to the Test Cases tab.
- In the folder tree, hover over the folder, click its ⋯ menu, and select Copy folder or Move folder.
- For a copy, choose What to copy. See What to copy.
- Choose the Project. It starts on the current project. To copy or move the folder to another project, pick that project. Its root is then selected as the destination.
- Under Target Folder, select where the folder goes. The first option in the folder tree is the root of the project, shown as Root of followed by the project name (for example, Root of MCP Project). Select it to place the folder at the top level of the project, or select any folder to place it inside that folder. To create a new folder for it, click the add folder icon next to Search folders.
- Check the counts at the bottom of the panel. They cover every subfolder, and show how many of the test cases are archived.
- Click Copy Folder or Move Folder.
The panel closes and the copy or move starts. See Follow the progress.
Copy or move several folders
- In the folder tree, open the ⋯ menu next to Search folders and select Select folders. You can also open any folder's ⋯ menu and select Select multiple folders.
- Tick the folders you want. Ticking a folder includes all its subfolders: they are ticked too and can't be unticked on their own. To include every folder, tick Select all folders.
- Check the number of folders and test cases at the top of the tree, then click Copy or Move.
- Choose the destination as in Copy or move one folder, and confirm.
The selected folders arrive side by side in the destination, each with its subfolders, whatever level they were at in the source. Their parent folders in the source aren't copied. For example, if you select UAT (inside Checkout), Search and Accounts and copy them to the root of another project, three folders arrive at that root: UAT, Search and Accounts.
Ticking every subfolder of a folder doesn't select the folder itself. To include the parent, tick the parent.
To leave folder selection, click the close icon in the selection bar.
Copy or move all folders
To copy or move every folder in the project, open the ⋯ menu next to Search folders and select Copy all folders or Move all folders. Every test case sits in a folder, so this covers every test case in the project. Choose the destination and confirm as for one folder.
What to copy
When you copy, choose what arrives at the destination:
| Option | What arrives |
|---|---|
| Folders and test cases (default) | Every folder and subfolder, with copies of their test cases. The copies get new IDs. |
| Folders only | Every folder and subfolder with the same names and order, including folders that are empty in the source, but no test cases. Use it to set up a new project with an existing structure. |
A move always takes the test cases with it, so it has no What to copy option.
Where folders can go
Folder names must be unique among the folders under the same parent. The same name is allowed at another level. This is the same rule as when you create or drag a folder. Copy and move never rename, merge or overwrite folders, so a name clash blocks the action until you choose another location:
| Situation | What you see | What to do |
|---|---|---|
| A selected folder's name already exists in the target location | Folder with this name already exists. For several folders, the message lists every clashing name | Choose another location, or rename the folder first |
| Two selected folders have the same name | A message that more than one selected folder has that name | Untick one of them, or copy them in separate actions |
| Move to the location where the folders already are | This folder is already here. Choose a different location. | Choose another location |
| Move into the folder itself or one of its subfolders | A folder can't be moved into itself or one of its subfolders. | Choose a location outside the folder |
Because of the name rule, a copy can't sit next to its original under the same parent. To duplicate a folder within a project, copy it into a different folder.
Follow the progress
While the copy or move runs:
- The test case list shows the progress as a percentage, with the folder name, the number of folders, or "all folders".
- The folders in the copy or move are labelled Copying or Moving in the folder tree.
- You can keep working, open other pages, or reload the page. The progress is still there when you come back to the project's Test Cases tab.
Folders are locked while they are copied or moved
The folders in the copy or move, the folder that contains them, and the target folder are locked until the job finishes: you can't rename, delete or drag them. The folders being copied or moved also can't be copied or moved again, and their menu explains: This folder is being copied or moved. Try again when it finishes. Copy link and Copy Path stay available, and so do the other folders in the project.
The test cases inside the folders stay editable while the job runs.
Stop a copy or move
Click Stop Copying or Stop Moving next to the progress, then confirm. Test cases already copied or moved stay where they are, and the rest are skipped. On a move, the skipped test cases stay in the source folders.
See the result
When the job finishes, a message states what was copied or moved, for example Copied 'check': 13 folders, 56 test cases. Click View Folder to open the folder in its new location. If the folder you had open was moved, Test Manager takes you to its new location.
What carries over
| Item | Copy | Move |
|---|---|---|
| Folders | Same names and order at every level, including empty folders | Same names and order at every level |
| Test case IDs | New IDs | Same IDs |
| Test case content | Steps, rich text, tags, preconditions, attachments, custom field values and version history | The same |
| Archived test cases | Copied, and they stay archived | Moved with the folder, and they stay archived |
| Shared test cases (shared from this project to others) | The copies aren't shared. The originals stay shared as before | Projects they are shared with keep access, and the destination project becomes their source project. If Shared Outgoing is turned off for the destination project, it's turned on automatically |
| Shortcuts to test cases shared from other projects | Not included. They stay under Shared Incoming | Not included. They stay under Shared Incoming |
| Test runs and results | Stay in the source project | Stay in the source project |
For more about how moving affects shared test cases, see Share Test Cases Across Projects. For archived test cases, see Archive and Restore Test Cases.
Troubleshooting
| Problem | What to do |
|---|---|
| Copy folder and Move folder aren't in the folder menu | Your role may be read-only. Ask a project admin for the User or Admin role |
| A project isn't in the Project list | You can't add folders and test cases in that project. Ask its admin for access |
| The menu items are unavailable with This folder is being copied or moved | The folder is part of a copy or move that is still running. Wait for it to finish |
| The copy or move won't start because of the test case count | One action can include up to 50,000 test cases. Copy or move the subfolders separately, or select fewer folders. Folders only has no test case limit |
| Folder with this name already exists | A folder with the same name is already in the target location. See Where folders can go |
| The count at the bottom of the panel shows archived test cases | Archived test cases are copied or moved with the folder and stay archived. To leave them behind, restore them and move them to another folder first, or delete them |