Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

hashing payload in webhook - what is Account?

Garrett Boone
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!
January 28, 2025

I am able to see the entire Body Content of POST webhook to my server after the pullrequest:fulfilled event. I can see the actual payload consists of:

  • repository
  • actor
  • pullrequest

 

But, in the Guide it says the payload needs to be:

  • actor
  • pullrequest
  • repository

I know how hashing works, but I cannot figure out what the payload must be to produce the expected hash. "Account" is a common entity but does not show up on the page of examples. The PullRequest example does not include all sections of my own pullquest JSON key.

I've tried the entire components of actor, pullrequest and repository, but it doesn't work. I've tried all of actor, and attempted to model the rest according to examples, in the order provided but it doesn't work.

So what is "Account" supposed to be? What else am I not understanding?

1 answer

1 accepted

1 vote
Answer accepted
Garrett Boone
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!
January 28, 2025

The answer is: forget the details of the payloads shown in the examples. The payload as-sent is what is needed, and it's a raw text string with no spaces (and not in JSON as shown in the examples).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events