Forum Discussion
- MrDubyaOccasional Contributor
I'm not aware of that capability - because I don't fully understand your use case, these suggestions may not help but what you could do now (and programmatically) is change the participant to a non-approving role (so the review record can move to 'completed' without that participant's approval), or you could add a custom review field that gets set programmatically based on your criteria.
- kkudaravNew Contributor
Thanks for the suggestion. Our use case is slightly different, assuming somehow (with external scripts) we determine that new uploaded versions of files are just merge/integrate operations to the tip than any new edits, we would like to auto-approve these reviews with a service account automatically and reduce the total no. of remaining approvals required by at least one, to move on to the next state. Also, for other reviewers participating in this review, we could add a note the uploaded version 'n' is only a merge/integrate operation and hence auto-approved.
- ArtemSSmartBear Alumni (Retired)
Hello,
>> Is there a way using command-line or JSON API to mark reviews and set assignment state to "Approved" for specific participants (not necessarily the account currently logged in)?
Yes, command-line client allows to do so. To login with a specific account call the ccollab login command and then call the ccollab admin review finish command. The later command finishes the current phase of the specified review and moves it to a subsequent phase. Once the target review is in Inspection phase and it has no defects, this command will approve the review.
>>Also, for other reviewers participating in this review, we could add a note the uploaded version 'n' is only a merge/integrate operation and hence auto-approved.
Command-line client allows this too. Use ccollab admin review comment create command.
ccollab login https://collabserver.net servbot-user password ccollab admin review finish --until 'Any' reviewID ccollab admin review comment create reviewID "Auto-approved changes as they are merge/integrate operation"
Related Content
- 2 years ago
- 3 years ago
Recent Discussions
- 3 months ago