It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Auto create a Review from Perforce

Marek Gimza May 17, 2012

Is the following possible, or is there aplugin that already supports this process?

1. The user checks out some files into a Pending changelist in Perforce.

2. The user then selects a Perforce custom tool to start a review on the Affected files in the Pending changelist.

3. The tool sends a request to Crucible to create a Review and automatically add the Affected files in the Pending changelist to the Review.

4. The tool will then send a request to the crucible server to add a list of reviewers to the review. The reviewers will be a comma seperated list of usernames.

The reviewers will be automatically added to the newly created review.

The request in step 4, could be part of the same request to the crucible server as in step 3.

3 answers

1 vote
Marek Gimza May 17, 2012

There is the REST API that provides the support to send the appropriate requests to the server.

It is documented under the Atlassian Developer section under the REST API Guilde:

https://developer.atlassian.com/display/FECRUDEV/FishEye+and+Crucible+Developer+Documentation

...

Marek G

1 vote
Marek Gimza May 18, 2012

Thanks for the reply Cameron.

This idea though unfortunately is not adequate as :

1. P4 triggers only work on the server and not the client

2. The checked out files that contain the changes for review are only in the local workspace to which the server has no knowledge.

To use this strategy developers would have to use the 'p4 shelve' feature which is not part of our Dev Process!

Thanks :)

0 votes
Cameron Ferguson May 17, 2012

You could also use the Atlassian Command Line Interface with your python triggers in perforce to create the review.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Statuspage

⭐️Would you recommend Statuspage? Leave a (honest!) review. ⭐️

Hi Community friends, We're working on sourcing more reviews on Capterra – a popular software review site –  to help teams like yours make more informed decisions when choosing an inc...

86 views 3 5
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you