When you complete a task, the objects associated with the task are checked in to a non-modifiable state. The task is then moved to the completed state. The resolver of a task or an administrator can perform this operation.
About this task
ccm task -ci|-checkin|-complete [-time|-time_actual task_duration]
[-parallels|-check_parallels (none | (i|info|information) |
(check|enforce))]
[-c|-comment comment_string] [-ce|-commentedit]
[-cf|-commentfile file_path] [-commentreplace]
(task_spec|(current|default))...
- -c|-comment comment
- Specifies to append the specified comment on all baseline projects and their members when they are checked in to the released state. The comment can contain more than one line and accepts backslash encoded values.
- You can use this option with -commentedit and -commentfile. If you use the -commentedit option, the comment displays in the default text editor.
- -ce|-commentedit
- Specifies to start the default text editor to compose and edit the comment. The result saved from the text editor is used as the final comment. You can use this option with the -comment and -commentfile options.
- -cf|-commentfile file_path
- Specifies to use the contents of the specified file for the comment. If you specified -comment, it is appended to that comment. You can use this option with the -commentedit option.
- -commentreplace
- Specifies to replace the comment.
- -parallels|-check_parallels (none | (i|info|information) | (check|enforce))
- Specifies the parallel checking to be performed when completing the task.
- none means no checking for parallels on the task.
- i|info|information means check and show any parallels on the task.
- check|enforce means check for parallels on the task. If parallels exist, do not complete the task and return with a non-zero exit status.
- -time|-time_actual task_duration
- Specifies the time required to complete the task. The task_duration can be any string. However, to help with reporting and metrics, be sure to adopt a consistent convention for format and units.
- task_spec|(current|default)
- Specifies the task to be completed. The current or default keyword means complete the current task. You can set the task_spec to multiple tasks. See Task specification for more information.