|
ccollab admin review-xml |
Top Previous Next |
|
Usage: ccollab [global-options] admin review-xml [--xpath <value> --xsl-file <value>] <review> [<review> ...]
review-xml - Extract the state of a review in XML form
Examples:
Get ID of 'last' review: ccollab admin review-xml last --xpath string(//reviews/review/@reviewId)
Get title of review 1354: ccollab admin review-xml 1354 --xpath //reviews/review/general/title/text()
Get number or defects in review 2478 with 'Major' severity: ccollab admin review-xml 2478 --xpath count(//reviews/review/defects/defect[custom-defect-fields/severity='Major'])
You may alternaltely specify an XSL file to post-process the XML. |