Find who triggered manual build in bamboo?

Is there a way to check which user triggered manual stage in Bamboo? I can't find that info anywhere.

Many thanks!

Greg

1 answer

1 accepted

Grzegorz,

In bamboo go to the build result and select the Job for the manual stage. THen on the MetaData tab you should see a field "ManualBuildTriggerReason.userName" with a value on the right of the username who actually ran the manual stage.

Adam

Hmm, thanks for your answer but that's only partially true.

It is true when the whole plan was triggered manually (by clicking on "Run" button). However, my case is different:

In my plan there are two stages:

* first stage is triggered by SVN change. I don't run it manually.

* the second stage is a manual stage - it requires a user to click on "Run" button.

The problem is that when the first stage is triggered automatically by SVN commit and after that a user starts the second stage manually - I can't find out who started it. There's no "ManualBuildTriggerReason.userName" key in jobs' metadata.

Could it be a bug/missing feature?

What specific version of Bamboo are you using?

Just upgraded to 4.4.3 (build 3505)

Seems to be driven by the Triggers (manual vs scheduled vs repo-generated). If I do a Manual build by clicking run build then the property I mentioned is in the metadata tab. If I have a scheduled build or one of the other trigger types it seems like it doesn't record the user who manually runs the Manual Stage that is paused. I would argue that is a bug (the ManualBuildTriggerReason.userName or at least some other piece of similar metadata) should be captured when a user manually continues a paused Stage.

I've logged an improvement request with Atlassian for this issue if you would like to vote on it and watch it : https://jira.atlassian.com/browse/BAM-12858

Thank you for your help Adam!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,568 views 0 6
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