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?

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.

2 answers

This widget could not be displayed.

Simply adding the patch should work, assuming it is correctly formatted (i.e. has a reference to already submitted changelist)

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Canada

AUG Lunch Roundtable - August 13 - Highlights

Thanks to everyone who came out today for the lunch AUG - we had some great food and discussion (and ice cream sandwiches to fend off the heat!) The welcome and fun fact was great as well, what an aw...

28 views 1 3
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you