You can compare all tasks for two specified project groupings.
Before you begin
You must specify -union, -intersection,
or -not_in.
About this task
ccm pg|project_grouping -compare ([-at|-added_tasks] |
[-rt|-removed_tasks] | [-all_tasks] |
[-tob|-tasks_on_top_of_baseline])
([-int|-intersection] | [-not|-not_in] | [-un|-union])
[-f|-format format] [-nf|-noformat]
([-ch|-column_header] | [-nch|-nocolumn_header])
[-sep|-separator separator] ([-sby|-sortby sortspec] |
[-ns|-nosort|-no_sort]) [-gby|-groupby groupformat]
[-u|-unnumbered] project_grouping_spec1 project_grouping_spec2
- -at|-added_tasks
- Compares the tasks added from the two project groupings.
- -all_tasks
- Compares the added and saved tasks from the two project groupings.
- -ch|-column_header
- Specifies to use a column header in the output format. See -ch|-column_header for details.
- -f|-format format
- Specifies the command output format. See -f|-format for details.
- -gby|-groupby groupformat
- Specifies how to group the command output. See -gby|-groupby for details.
- -int|-intersection
- Specifies the comparison to show the tasks in common between both
project groupings.
- -nch|-nocolumn_header
- Specifies not to use a column header in the output format. See -nch|-nocolumn_header for details.
- -nf|-noformat
- Specifies not to use column alignment. See -nf|-noformat for details.
- -ns|-no_sort
- Specifies not to sort the output. See -ns|-nosort for details.
- -not|-not_in
- Specifies the comparison to show the tasks in the first project
grouping that are not in second project grouping.
- project_grouping_spec1
- Specifies the first project grouping to be compared. For more
information, see Project grouping specification.
- project_grouping_spec2
- Specifies the project grouping to compare to project_grouping_spec1.
For more information, see "Project grouping specification."
- -rt|-removed_tasks
- Compares the removed tasks in the two project groupings.
- -sep|-separator separator
- Specifies a different separator character. See -sep|-separator for details.
- -sby|-sortby sortspec
- Specifies how to sort the command output. See -sby|-sortby for details.
- -tob|-tasks_on_top_of_baseline
- Compares the tasks on top of the baseline in the two project groupings.
- -un|-union
- Specifies the comparison to show the tasks that are in both project
groupings.
- -u|-unnumbered
- Suppresses automatic numbering of the output (the output is not
numbered). See -u|-unnumbered for details.
Example
Show the tasks on top of the
baseline in project grouping
My 2.0 Collaborative Development
projects that are not in the project grouping
All
2.0 Integration Testing projects.
ccm
pg -compare -tasks -not_in "My 2.0 Collaborative Development projects"
"All 2.0 Integration Testing projects"