Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,117
Community Members
 
Community Events
168
Community Groups

Access to the list of people in group via Bamboo variable

I would like to add a plan launch notification. The "notification" function only allows you to send notifications when the plan is completed. However, it can be set in plan to receive notification by a group.

I prepared a PowerShell script that will be called in the first Task in Stage. Is it possible to get a list of people from the bamboo group via bamboo variable? Something like $ {bamboo.group.mail_test}?

1 answer

0 votes

Hi @MS

Bamboo does not provide a way to gather this information via variables nor REST APIs. This restriction will probably be enforced due to GDPR compliance reasons.

I guess the options you have would be:

  • Gather the user's email from LDAP via API and add it to a variable OR
  • Create a file in your build pipeline with the list of user' s emails (gathered either from the Bamboo UI or another method). Using an inject variable task to create a variable with the content you need.

There is a feature request to add an email task in Bamboo:

I hope that helps to clarify this scenario.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events