Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

'move'ing artifacts inside the StarTeam repository, across projects, views or folders

'move'ing artifacts inside the StarTeam repository, across projects, views or folders

Use the move command to move StarTeam items. You can use this command to move all item types:
Folder, File, Change request, Task, Topic, Requirement, Sprint, Story, Concept, WhiteBoard, and custom
components.

Syntax
The syntax for this command is:
move –p “user:pwd@host:port/project/view” [ -epwdile “pathToPasswordFile” ] [ -csf ] –type “typeName” –id itemID
[ -tp targetProjectName ] [ –tv “targetViewName” ] [ -tfp “target folder path” ]


Parameter Description


-csf if specified, turns on case sensitive checking of folder names. If not specified, then the platform default behavior applies.

-type describes the type name of the item to be shared. May be one of the stock type names, e,g,
file, folder , changerequest, task, topic, requirement, sprint, story, plan or any custom type name

-id can be either the unique item (view member) id of the item. View Member IDs are found by looking in the property lists of the cpc or can be queried using the select command, OR, the primary descriptor of the item; e.g. file name, folder name, changerequest number.

-tp describes an optional specific target project to move into. If not specified, then the item will be moved into the source view described by –tv, assuming that is specified. If neither is specified, then the move will occur into the original view as specified by –p.

If –tp is specified, and –tv is not, then the move will occur into the default (root) view of the project described by –tp.

-tv describes an optional specific target view to share into. If not specified (and –tp not specified), then the item will be moved into the source view described by –p.

-tfp describes the folder path to share to. If a folder name is specified, then this name must be unique across the folder tree. Otherwise, a fully qualified folder path is required, starting from the root folder of the view down to the leaf folder into which the share must be created.
If –tfp is not specified, then the share will be created in the root folder of the target view –tv.

Note also that if a share of the item already exists in the target folder, then the move will not occur. An error will be returned.

Note that either one of –tp, -tv or –tfp must be specified.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2016-11-07 16:03
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.