It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Where would I find the project keys and the plan keys?

Hello - I'm trying to add a plan to my project that uses the "trigger condition" of "Only run Build if other Plans are currently passing" which requires the Plan Keys of my other plans. I'm not finding the Plan Keys listed anywhere - can someone suggest where to look, please?

Thanks!

6 answers

How is it possible that you (atlassian) base the setup of functionality on keys that you do NOT show anywhere, and that the user are supposed to MANUALLY provide! Wow!

Hello di33,

If you know which the plans of which you want to obtain plan key, then you could 'extract' the plan key from your web browser address. Just go to one of your desired plan's result pages, and check your web browser address bar, for example:

http://my.bamboo.com:8085/bamboo/browse/BAM-FC-8882

The BAM part is the [Project Key], the FC part is the [Plan Key]

Does it make sense? :)

Perfect - thanks!

I found the Project Keys in the db, in the PROJECTS table. Now for those elusive Plan Keys...

In the /tmp directory on the server there are a bunch of files that get created that are named [Project Key]-[Plan Key], and fortunately I've got a small instance so I could figure out from that the Plan Key I needed for the trigger condition. Also (mentioned in another question), even though it says it wants the Plan Key, the trigger condition needs the same info ([Project Key]-[Plan Key]).

0 votes

I don't know which version of Bamboo you're using, but maybe you should use com.atlassian.bamboo.plan.cache.CachedPlanManager#getPlans and get the keys from the returned collection?

I'm using 4.1.2, and perhaps I should mention that I'm not a programmer - I'm guessing the suggestion here might be outside of my sphere. I was looking for an answer that I could execute from the Bamboo UI, or by peeking in the database (peeking at tmp files works for now!).

Have a look at the BUILD table then.

Please atlassian.. fix your trigger screen. No point in asking for a comma delimited list of keys but not displaying the keys anywhere. STash displays the keys, why not bamboo?

It would be useful to simply add components on the trigger screen to select the plans you want instead of forcing a comma delimited plan key string. Lazy implementation that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

827 views 2 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you