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,367,539
Community Members
 
Community Events
168
Community Groups

How to trigger bamoo plan ,when bitbucker delete a branch?

When i delete a  branch in bitbucket , i wang trigger a bamboo build ? But i don't knonw how tu trigger the bamoo

1 answer

Triggering a build via arbitrary remote event integration is not natively available. That said, you can achieve this with third party apps and a bit of scripting, for example ScriptRunner for Bamboo:

  1. Create a new Script Event Handler for the BranchDeletedEvent
  2. Trigger a build via the Bamboo REST API (or the Bamboo Java API) from the attached script
    • See this answer for more details on the resp. REST API action.
    • See this example for a resp. ScriptRunner script (haven't tested this myself)

Thank for your reply . I try it .

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events