CLI 参考 > 配置管理命令 > si editcp
  
si editcp
edits an existing change package
Synopsis
si editcp [--description=value] [--descriptionFile=value] [--state=[open|closed|submitted|accepted|rejected|discarded|commitfailed]] [--summary=value] [--summary=value] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [--quiet] [(-g|--gui)] [--settingsUI=[gui|default]] [--status=[none|gui|default]] issue|issue:change package id...
Description
si editcp edits an existing change package. For example,
si editcp --state=open 3433:3
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--description=value
specifies a description of the change package being edited.
--descriptionFile=value
specifies the file that contains the description for the change package.
--state=[open|closed|submitted|accepted|rejected|discarded|commitfailed]
specifies the state of the change package. The change package progresses through states as part of the change package review workflow. If reviews are not mandatory, some states are not applicable. For more information, see the Windchill RV&S 帮助中心.
--state=open specifies that the change package is open.
--state=closed specifies that the change package is closed.
--state=submitted specifies that the change package has been submitted for review.
--state=accepted specifies that the change package has been accepted by all reviewers.
--state=rejected specifies that the change package has been rejected by at least one reviewer.
--state=discarded specifies that the change package has been discarded.
--state=commitfailed specifies that the change package has failed to commit to the repository.
--summary=value
specifies a brief summary of the change package being edited.
issue...
issue:change package id...
issue identifies a specific issue that contains all change packages that you want to edit; use spaces to specify more than one issue.
issue:change package id identifies a specific change package to edit; use spaces to specify more than one change package.
Diagnostics
See the diagnosticsreference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si discardcp, si opencp, si closecp, si createcp, si add, si ci, si co, si cpissues, si createcp, si drop, si lock, si viewcps
Miscellaneous: ACL, diagnostics, options, preferences