The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How can i create a Workspace Webhook?

Keanu Ledger
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!
May 20, 2024

I use a workspace acess_token to make requests to create a workspace webhook, but it fail, and i dont get nothing in terminal. How i kown it fail? I make a request to get all webhooks, but the "value" key comes empty.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2024

Hi @Keanu Ledger ,
Welcome to our community here.

Can you share a bit more about what you are trying to achieve?

We recently released Forge for Bitbucket and Forge apps can listen to events too. These are the supported events today: https://developer.atlassian.com/platform/forge/events-reference/bitbucket.


If you want to check this option out, I would recommend starting with the following:
- Our getting started tutorial: https://developer.atlassian.com/platform/forge/build-a-hello-world-app-in-bitbucket/
- Or you could jump straight into the https://developer.atlassian.com/platform/forge/automate-bitbucket-using-triggers/ which shows an app that responds to a pull request created events and adds a comment in response to such event.

To answer your exact question, I'm not entirely sure what's happening. I tried a few combinations and I was always either getting an error (e.g. `Your credentials lack one or more required privilege scopes` when the scope wasn't set) or the webhook created. I think the Forge option might be better but if you want to investigate this further please share the payload for the POST and we'll check with that.

Let us know,
Caterina

TAGS
AUG Leaders

Atlassian Community Events