scm code review export when only Change set linked to Workitem
Hello Team,
i am using scm code review export functionality part of SCM Tools for getting Code issues findings,approval status and others.
1. i have associated a Change set to Workitem (Using Submitting for Review window) without selecting the "Target Stream".
2. Ran scm export code-review for above said workitem.
Response:
- JSON response doesnt contain Change Set information at all.
My query is below,
1. Why JSON Response doesnt show Change set information.
2. Once i set Target Stream and run the scm command then JSON Response shows Change set information.
why is this behaviour?
Thanks
Accepted answer
Exporting code review only makes sense when the target stream is set because you are reviewing the changes against that of the stream. The right thing to do is to show a message indicating that the code review has not been initiated or probably inform that the target stream is not set.
Comments
-change sets associated to the work item
-closed/completed change sets