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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot