Hi,
i´m trying to update several Environments via a Powershell Script and want to use the REST API for this. I want to get/set Triggers in an Environment, but i´m not able to receive the Details, although the Documentation shows the Details.
The Bamboo REST API (atlassian.com)
All i see is this:
"triggersCount": 4
Is there a way to get/put the "triggerDefinitions" ?
Kind regards!
Hello Ma Ki,
Welcome to Atlassian community.
As far as I am aware we don't have a REST API for the same, however there's a feature request raised for the similar request to allow this to do from Bamboo GUI like Build plans, refer https://jira.atlassian.com/browse/BAM-22235
However if you are interested we can explore options from DB side to bulk update, it may require a updated query in deployment_environment table.
Regards,
Shashank Kumar
**please don't forget to Accept the answer if your query was answered**
Thanks for your response. However i think i will not getting the Administrator Rights in our company on Bamboo. Therefore i´m also not able to use the Bulk Updates on Build Plans right now.
Right now we will update the triggers "manually", but thanks for the help.
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.