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

Deleting a Crucible Review In Draft Mode with REST API

Dennis Fong February 28, 2019

I'm not sure if this is a recent change since I believe this was working before. I want to delete a Crucible review in draft mode via REST API. I was able to delete a draft with the REST endpoint

 

/rest-service/reviews-v1/{id}/transition?action=action:deleteReview

 

However, the response i get now when trying to transition a review in draft to delete is

 

"{"code":"Authorization","message":"You can't do action:deleteReview in state Draft"}"

 

If I transition the review to abandon first then attempt to delete, the error I get is 

 

{"code":"Authorization","message":"You can't do action:deleteReview in state Dead"}

 

1 answer

0 votes
lance_lyons
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.
October 9, 2023

Hi,   Did you every figure this out.  I have the same scenario

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><code>Authorization</code><message>You can't do action:deleteReview in state Dead</message></error>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events