This documentation relates to an earlier version of Crucible.
View

Unknown macro: {spacejump}

or visit the current documentation home.

The content on this page is deprecated. Please see the separate documentation space for developer reference material about FishEye and Crucible.

On this page:

Workflow

Close a Review

POST /reviews-v1/<review id>/close

Description:
Close the review.
Status Code:
200 (OK) on success.

Complete a Review

POST /reviews-v1/<review id>/complete

Description:
Indicate that the current user has completed the review.
Status Code:
200 (OK) on success.

Move a Review to a New State

POST /reviews-v1/<review id>/transition?action=<action>

Description:
Change the state of the review.
Status Code:
200 (OK) on success.

Valid actions are:
action:abandonReview
action:deleteReview
action:submitReview
action:approveReview
action:rejectReview
action:summarizeReview
action:closeReview
action:reopenReview
action:recoverReview
action:completeReview
action:uncompleteReview

Uncomplete a Review

POST /reviews-v1/<review id>/uncomplete

Description:
Indicate that the current user has not completed the review.
Status Code:
200 (OK) on success.

2 Comments

  1. Anonymous

    I've created a review. It gets put into draft state. I want to start the review so that it goes into the "under review" state. http://jira.atlassian.com/browse/CRUC-1453 suggests that I use submitReview. When I did this, the review went into "pending approval" state. I believe I need an action:startReview.

    1. Anonymous

      Ok, weird.  approveReview did what I wanted, but when I looked at the output, it complained that the review was already in the "review" state.