Share this page

# Copy features with children

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 | `{server_url}/api/shared_spaces/{space_id}/workspaces/{workspace_id}/features/duplicate_remote?dest_ws_id=2001&query=%22(id%3D%272001%27)%22&children_query="(id IN null)"`
Only copy children with specific IDs | `{server_url}/api/shared_spaces/{space_id}/workspaces/{workspace_id}/features/duplicate_remote?dest_ws_id=2001&query=%22(id%3D%272001%27)%22&children_query="(id IN '1001','1002')"`
Only copy children that are defects | `{server_url}/api/shared_spaces/{space_id}/workspaces/{workspace_id}/features/duplicate_remote?dest_ws_id=2001&query=%22(id%3D%272001%27)%22&children_query="(subtype='defect')"`

https://admhelp.microfocus.com Software Delivery Management 8942
Tips to improve your search results... OpenText™ Software Delivery Management Help Center OpenText™ Software Delivery Management Help 26.1 All View Local Help Center View Online Help Center Version: