Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding Changeset to Crucible review using REST API

Gopinath Velayudhan June 21, 2012

Hi - I am trying to user REST API to add a changeset to an existing empty crucible review.

I am looking into the API reference http://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html and see that there is a API call

http://host:port/context/rest-service/reviews-v1/{id}/addChangeset [POST]

But the documentaion does not have any informaiton on the data content xml required. If some one can provide the right content xml that will be great.

Thanks

Gopi

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
dhandu July 17, 2012

could you share the rest api call to upload the changset ? what is the value of changset id ? , I am doing local commit and create a review adding the changeset ?,

0 votes
rverschoor
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.
June 21, 2012

This should work:

<addChangeset>
    <repository>yourRepo</repository>
    <changesets>
        <changesetData>
            <id>1</id>
        </changesetData>
    </changesets>
</addChangeset>

Gopinath Velayudhan June 28, 2012

Thanks This worked.

TAGS
AUG Leaders

Atlassian Community Events