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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Webhook response issue.

According to the documentation when using a push webhook, I should be able to access info about the push, but I am having issues.

I am using https://github.com/adnanh/webhook on my server to listen for the webhook events.

I can successfully use the hook, though in the response, I am only able to access actor.display_name.

Looking at the sample response, I should be able to do the following:

push.changes[0].new.target.hash
push.changes[0].new.target.message
push.changes[0].new.target.date
push.changes[0].links.diff

 

Though when i try to access push.changes[0] it's empty. push.changes is not empty, and when checking the console/logs, I get a response that I'm unfamiliar with. sample: 

commits:[map
[type:commit
summary:map[
raw:Testing Webhook
markup:markdown
html:<p>Testing Webhook</p>
type:rendered
]
parents:[map[

 

 

0 answers

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,878 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you