I am trying my luck to contact the support team as I cannot get a result from the Answers web pages and forums.
How can I add a file to an existing review specifying the path to the latest version in perforce as well as a patch to identify the changes for review?
The changed files in a Pending changelist cannot be accessed by fisheye/crucible until they are submitted.
We do not allow developers to submit until their code changes in their pending reviews have been reviewed.
I am trying to develop a simple script that uses the REST Remote API to add a file to an existing review.
The script will specify the files path in perforce and provide a patch/diff to identify the code changes in the pending changelist. The review should list the changes to review in full -context as if I have had provided two changesets to the file in perforce.
You might want to try the commands '<tt>p4 shelve'</tt> and '<tt>p4 unshelve' mentioned in this feature request: https://jira.atlassian.com/browse/CRUC-3378</tt>
Then, use this REST API to add the patch: https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#d2e861
Simply adding the patch should work, assuming it is correctly formatted (i.e. has a reference to already submitted changelist)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.