Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Get and Push triggerDefinitions via REST API

Ma Ki June 5, 2024

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!

1 answer

1 accepted

1 vote
Answer accepted
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2024

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**

Ma Ki June 12, 2024

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.

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events