As per https://confluence.atlassian.com/bamboo/plan-directory-information-rest-api-750396160.html, 'bamboo.plan.directory.info.rest' property is set to disabled by default. I want to make teh REST call to /rest/api/latest/planDirectoryInfo/{planKey} but i am getting 401 Access denied. I suspect we need to modify the disabled property to local or authenticated. But where to find this property? in which file ?
As outlined in more detail within Plan directory information REST API, the "bamboo.plan.directory.info.rest is a system property with the following settings":
disabled (default)
The plan directory information REST API is disabled and all requests will be rejectedlocal
The plan directory information REST API is available without authentication to any request originating from localhostanonymous
The plan directory information REST API is accessible anonymouslyauthenticated
The plan directory information REST API is accessible to any authenticated requestauthenticated-admin
The plan directory information REST API is accessible to any request authenticated as an administrator[...]
Please refer to Configuring your system properties for details on the various options "how to set Java properties and options on startup for Bamboo".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
401 error means that you are not authenticated. How do you make the REST call? Do you pass the authorization info?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.