Calling Custom REST API Calls on Crucible 2.10.0 when integrated with crowd

We have developed some custom REST API which make calls to Crucible/Fisheye

In Previous versions 2.8.1 we use to call REST as follows

1. Get /rest-service/auth-v1/login call and retrieve token

2. Call the REST API through Jersey webResource.header("Cookie", "remember=" + token) and it used to work

3. But now we have done integration of crucible with crowd with custom crowd token key .

When I pass the crowd token key it works.

if I dont pass the crowd token key it fails...

Did something change in 2.10.0

1 answer

I noticed some changes too. With 2.8 I could call repositoryAdminService.create in my anonymous REST API implementation, in 2.10 I get:

com.atlassian.crucible.spi.services.NotPermittedException: You are not authorized to perform this operation

at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.ensureAdminPermission(DefaultRepositoryAdminService.java:1269)

What changed and how are we supposed to get AdminPermissions?

Regards

Matthias

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

134 views 3 4
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you