I have a Bamboo server 8.0, it is installed on my own server.
I try to authorization in the REST API.
1. I generated a Personal access token in user settings.
2. Then I try to get https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues with the header "Authorization: Bearer {TOKEN}"
3. I got this message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}
The same situation when I try to use Basic auth
1. URL: https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues&os_authType=any
2. Header: Basic {base64 login:password}
3. The same error message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}
What am I doing wrong? I tried to install Bamboo 7.2, and I had the same problem.
Sorry, I found the problem. My nginx removes all Authorization headers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.