Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,554,337
Community Members
 
Community Events
184
Community Groups

bamboo.plan.directory.info.rest system property is disabled by default. How to set it to local?

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 ?

2 answers

1 accepted

0 votes
Answer accepted
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 18, 2018

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 rejected

local
The plan directory information REST API is available without authentication to any request originating from localhost

anonymous
The plan directory information REST API is accessible anonymously

authenticated
The plan directory information REST API is accessible to any authenticated request

authenticated-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".

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 18, 2018

Hello,

401 error means that you are not authenticated. How do you make the REST call? Do you pass the authorization info?

Yes, I pass the username and password as Basic Auth

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events