Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,016
Community Members
 
Community Events
168
Community Groups

How do I bulk-close old crucible reviews?

Hi,

We have approximately 300 old review tickets open which I'd like to close out, but despite being administrator I seem to be unable to do this - AFAICT only the original author can do this? I have even tried to do this via the rest api, but the "action:closeReview" transition is not available to me - in fact, no transitions are available to me for any review I did not originate, despite having administrative privileges.

I also tried using the /close action, but this also failed due to permissions:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><code>Authorization</code><message>Crucible unauthorised action.</message><stacktrace>com.atlassian.crucible.spi.services.AuthorizationException: Crucible unauthorised action.
at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.changeState(DefaultReviewManager.java:951)
at com.atlassian.crucible.spi.impl.DefaultReviewService$28.doInTransaction(DefaultReviewService.java:1633)
...etc

I would love to have an answer to this, either a facility through the UI or via api.

Thanks!

1 answer

1 accepted

1 vote
Answer accepted

Look at your permission schemes (administrator) and find the one used for your project. Edit it and add permission for administrator to close issues.

That worked, thanks - although I needed to grant myself close permission explicitly - I couldn't see a way to blanket-grant this permission to "administrators". As we have several admins, it would be preferable just to grant to anyone with admin privileges. Is this possible?

Thanks again, --Cormac

Create a group like fisheye-administrators and go do Admin menu -> Administrators to make this group an admin group.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events