Missed Team ’24? Catch up on announcements here.

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

Webhook response issue.

David-Sorensen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2019

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
AUG Leaders

Atlassian Community Events