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

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

0 votes

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
Community showcase
Posted 36m ago in Canada

TOPIC TUESDAY - Oct 16th - Fav Atlassian Logo

Hey folks, We are back with your Topic Tuesday Question for the week. This week we are asking what is your fav new Atlassian logo? My vote would be for Statuspage. Let us know your thoughts! &nbs...

9 views 0 0
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