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?
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.
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...)
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.