Copy items to another workspace
You can copy or move items to another workspace within the same space.
Copy an item to another workspace
You can copy features, backlog items, manual tests, and Gherkin tests to another workspace within the same space. You can copy one item or test at a time. When copying a feature, all its child backlog items are also copied.
To copy an item to another workspace:
-
Prerequisites
You must have the following permissions:
-
Copy to Different Workspace permission for the item type on both source and target workspaces.
-
Create permission for the item type on the target workspace.
For details, see Permission categories and types.
-
-
Open the item that you want to copy.
-
In the item's Details tab, click More and select Copy to Different Workspace.
-
Choose the target workspace and click Copy.
After the copy completes, a message displays with a link to the new item in the target workspace.
Values and attributes of copied items
The new item is initiated as follows.
Field | Description |
---|---|
Phase | The phase is reset to New. |
Comments |
A comment is added containing a link to the original item in the source workspace. |
Author |
This is set to the user who performed the copy action. |
Detected By |
This field in defects is copied from the original item. Make sure that the same user exists in the target workspace. |
History tab |
The item is created with a clear History tab. |
Field values and attributes are copied to the new item as follows.
Status | Details |
---|---|
Copied |
The new item includes values for the fields that are defined at the shared space level. This applies to both system and custom fields. In addition, the following are copied:
|
Not copied |
Values are not copied where the value is defined at the workspace level, such as local application modules, programs, teams, and releases. In addition, the following are not copied:
|
REST API for copying a feature's child items
You can use the children_query
request to define a parameter to be applied on the feature's child items that should be copied.
The following examples demonstrate queries for copying child items to a different workspace.
Example query | API request |
---|---|
Do not copy any children |
|
Only copy children with specific IDs |
|
Only copy children that are defects |
|
Notes
The following apply when copying features to another workspace.
Area | Description |
---|---|
Permissions |
A feature is copied with its child backlog items. If you do not have create permissions for any of the children in the target workspace, only the children for which the user has create permission in the target workspace are copied. |
Data access issues |
|
Move an item to a different workspace
You can move features and backlog items from one workspace to another in the same space. You can move one feature or backlog item at a time. When moving a feature, all its child backlog items are also moved.
To move an item to another workspace:
-
By default, the following permissions are required:
-
Move to Different Workspace permission for the item type on both source and target workspaces.
-
Create permission for the item type on the target workspace.
For details, see Permission categories and types.
Note: An admin can control the permissions required for move actions using the MOVE_CROSS_WS_USE_CREATE_PERMISSION parameter. For details, see Permissions to move items.
-
-
In the item's Details tab, click More and select Move to Different Workspace.
-
In the Move to Different Workspace dialog box, select the target workspace, and then click Move.
Refresh the grid in the target workspace to view the change.
Item details that are moved
The following table lists the feature and backlog item details that are moved between workspaces and any restrictions.
Field | Description |
---|---|
Common fields |
Fields vary depending on the entities that the workspaces share. For example:
|
Attachments, comments, history |
Moved to the new workspace. |
User-defined fields (UDFs) |
Moved if defined at the shared space level and are common to both workspaces. |
Associations |
Features: Associations with shared epics and the feature's child backlog items are kept. All other associations are removed. Backlog items: Associations with backlog items cannot be moved to the new workspace. All associations are removed. |
Notes
The following apply when moving items between workspaces.
Area | Description |
---|---|
Irrelevant fields |
The feature or backlog item in the target workspace might not be valid due to the removal of fields that are irrelevant in the target workspace. Any user attempting to modify the feature or backlog item must adjust it to make it valid. |
Permissions to move items |
Moving items requires the permissions listed in Prerequisites.
Note: An admin can control the permissions required for move actions using the MOVE_CROSS_WS_USE_CREATE_PERMISSION parameter. Previously, only the Move to Different Workspace permission was required, whereas now, the Create permission is also required to perform the move action.
For details, see Configuration parameters. |
Data access issues |
When moving a feature:
|