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

This widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

171 views 1 3
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