Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Products
  • Jira
  • Questions
  • 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?

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?

Marek Gimza June 19, 2012

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

0 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2013

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

0 votes
Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

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

Suggest an answer

Log in or Sign up to answer