Code review with RTC 2.0: mandating reviews before build?
We want to make sure that all the items included in a certain build (or delivered to a certain stream) have been reviewed.
I can manually crate a query that shows me all work items that need approval and are completed or rejected. The idea is to take all items that are included in a certain snapshot and to verify they are all reviewed.
Is there a way to run such a query from the command line?
I can manually crate a query that shows me all work items that need approval and are completed or rejected. The idea is to take all items that are included in a certain snapshot and to verify they are all reviewed.
Is there a way to run such a query from the command line?
One answer
There are two techniques here:
1. Proactive block delivery if approvals aren't complete. This requires that approvals are provided before you deliver. This is supported in the tool and allows you to add a process pre-condition to the deliver operation that enforces approvals for all delivered change sets.
2. After the fact, you can run the command line to list the work items in the build, but then would have to write a script to process the work items and verify the attributes that you feel are important. The command line provides a compare command that can compare two snapshots, baselines, streams and outputs the results in different levels of details.
Cheers,
Jean-Michel
1. Proactive block delivery if approvals aren't complete. This requires that approvals are provided before you deliver. This is supported in the tool and allows you to add a process pre-condition to the deliver operation that enforces approvals for all delivered change sets.
2. After the fact, you can run the command line to list the work items in the build, but then would have to write a script to process the work items and verify the attributes that you feel are important. The command line provides a compare command that can compare two snapshots, baselines, streams and outputs the results in different levels of details.
Cheers,
Jean-Michel