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 edited

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events