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.
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
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! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.