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!
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? :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at the BUILD table then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]).
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.