CLI Reference > Configuration Management Commands > si rejectcp
 
si rejectcp
rejects a change package
Synopsis
si rejectcp [--comments=value] [--commentsFile=value] [--reviewer=[user|group:<Group-Name>|super]] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-Ffile|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] issue|issue:change package id...
Description
si rejectcp rejects a change package under review. For example,
si rejectcp --reviewer=super 32434:3
If a reviewer of a change package determines that additional development must be completed to resolve an issue, the reviewer can reject the change package. A single reviewer rejection is enough to reject a change package, even if there are multiple reviewers. The creator of the change package can reject it without being listed as a reviewer.
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.
--comments=value
specifies comments recorded in the review log with the vote.
--commentsFile=value
specifies a text file that contains the comments to be recorded in the review log with the vote.
--reviewer=[user|group:<Group-Name>|super]
specifies the capacity in which you are rejecting the change package.
user
casts a vote as an individual reviewer in the reviewer list.
group:<Group-Name>
casts a vote on behalf of the entire group (only one user from a group is necessary to vote on behalf of the entire group).
super
an overriding reject vote. A super reviewer is not required to be a listed reviewer for the change package. You must have the SuperReviewer permission to use this option.
issue...
issue:change package id...
issue identifies a specific issue that contains all submitted change packages that you want to reject; use spaces to specify more than one issue.
issue:change package id identifies a specific change package to reject; use spaces to specify more than one change package.
Diagnostics
See the diagnostics reference 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 co, si cpissues, si createcp, si viewcpssi acceptcp, si opencp, si discardcp
Miscellaneous:ACL, diagnostics, options, preferences