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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,557,509
Community Members
 
Community Events
184
Community Groups

Remote events not pushed from Bitbucket to Bamboo

I am trying to link Bamboo and Bitbucket in order to get Bamboo react on pull requests.

I have:

  • Bitbucket 6.10.0 self-hosted
  • Bamboo 6.10.6 self-hosted

I am checking the "System information" page in Bamboo to see if I receive any events from Bitbucket. Even though "Remote events status=working" "Last received event" column remains empty. I am trying to trigger some event by creating and editing pull requests.

Observations:

  • I can see Bitbucket is periodically querying GET /rest/remote-event-consumer/1/capabilities of Bamboo 
  • Bamboo returns capabilities like "stash-pullrequest-opened-remote-event" or "stash-pullrequest-updated-remote-event"

What could be missing? Why does Bamboo not receive any events? I have re-established the links between the applications. Nothing has changed.

2 answers

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 10, 2021

OK. I have some more info:

The Bamboo endpoint GET /rest/capabilities returns several links. My Bamboo is hosted with SSL and all the links have https prefix. This is OK.

However the endpoint GET /rest/remote-event-consumer/1/capabilities returns all links with http. This makes Bitbucket complain:

java.lang.IllegalArgumentException: Request url 'http://bamboo.my.org/rest/remote-event-consumer/latest/events/stash-branch-changed-remote-event' isn't in the same origin as the rpc url 'https://bamboo.my.org'

Any Idea how to fix the URLs in the GET /rest/remote-event-consumer/1/capabilities response?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events