export code-review example
export code-review example.
Examples
To export the code review data to a JSON file for work items that result from a work item query, create a work item query that displays the work items that you want the code review data for and use the work item query ID in the export code-review command. For example, in work item query https://example:9443/ccm/web/projects/#action=com.ibm.team.workitem.runSavedQuery&id=_UU6RMMqrEeWW1pjuq1MlnQ, the query ID is _UU6RMMqrEeWW1pjuq1MlnQ.
Use the query ID in the command to export the code review data of the work items to a file. For example:
The output is written to queryResult.json.
You can also use the work item IDs to export the code review data for the list of work items to a file. For example:
The work item IDs must be separated by commas, without spaces.
The output is written to exportResult.json.