Is there any way to find out which user triggered a manual stage in Bamboo? When I look at the Summary for that stage it tells me that the build was triggered by changed code. This was true for the first stage, but not for the manual stage at the end of the build.
I fixed this with a PreJobAction and the example code from https://answers.atlassian.com/questions/35653/is-it-possible-to-set-bamboo-variables-in-one-stage-via-custom-task-and-retrieve-it-in-a-different-stage -- there really needs to be more flexible and comprehensive documentation on how to set variables in Bamboo.
It looks like Bamboo 4.0 has this feature...but it's not working. I triggered a manual build. Another user then triggered a manual stage after all the automatic stages had completed. The Dashboard now says "Manual build by Dave," listing the user who triggered the last manual stage. The build page sometimes says "Trigger: The build was manually triggered from the stage: Deploy by Dave" and sometime says "Trigger: The build was manually triggered from the stage: Deploy by Heather," changing as you click the various stages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah we've seen this as well... depending on how the trigger occured affects what is shown as the "user" who triggered it... and it seems that the MetaData variable for hte username doesn't really know exactly who triggered the manual stage and from where
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Heather, to confirm, are you looking at the trigger reason for build results that were created after your upgrade to Bamboo 4? The fix we added does not work retrospectively across your old build results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah this is something that'd be useful for us.. we use the Atlassian CLI on our agents to do things like "auto-comment" and "promote tasks", etc.. we use Manaul Stages for "Approval" steps... and it'd be nice to have our auto-commenter code say, "This build was approved by _________" and be able to access a variable that was whoever triggered the manual stage
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.