How do you notify users when you need to take Bamboo down for maintenance?

I want to email my Bamboo users when the server is being taken down for maintenance, but I don't see any built-in way to do this. It would be tedious and time consuming to try and copy all of their addresses into an external mail program.

Does anyone have a creative solution?

2 answers

1 accepted

This widget could not be displayed.
This is pretty creative if you're on Unix:

for i in $(seq 0 25 200); do curl --user user:pass "http://bamboo/admin/user/viewUsers.action?startIndex=$i"; done | grep @ | grep -v \" |xargs mail -s "Bamboo Server is going down in 10 minutes"

You can also write a plugin that does it. Accessing Bamboo User database and mail service in a plugin is quite easy. I don't think it would take more than 10-15 lines of Java code to do this.

This widget could not be displayed.

If you administrer your users with Jira (Administration->Security->User Repositories), you can send email users or groups in Jira's administration interface. (Administration->System->Email...)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

97 views 0 8
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