Whenever i try to add a discord generated webhook to bitbucket repos i keep receiving 400 erros, does anyone know how to set them up correctly?
It is because Discord does not support webhooks from bitbucket, they only have two integrations as you can see in https://discordapp.com/developers/docs/resources/webhook#execute-webhook
For now, I think you must send a request to discord support team to add support for bitbucket -> https://support.discordapp.com/hc/en-us
EDIT: there is a service that can translate the webhook format from bitbuket to discord: https://skyhook.glitch.me/
skyhook is the perfect solution for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea on how to get this working with Jira? Receiving an error when I put in the Discord URL to Skyhook for Jira webhooks:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, so Skyhook doesn't quite work with Jira at the moment. However, definitely voting up this:
https://feedback.discordapp.com/forums/326712-discord-dream-land/suggestions/12454674-discord-as-a-replacement-to-slack-for-developers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Skyhook indeed did it for me, sorry for the extremely late response. Thanks though :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Skyhook allowed us to integrate BitBucket with Discord. Two thumbs up Skyhook
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not working with bitbucket and Discord for me, getting error 502
my skyhook looks like: https://skyhook.glitch.me/api/webhooks/<numbers>/<numbers_and_letters>-<numbers_and_letters>_<numbers_and_letters>/bitbucket
is this correct?
{"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at createError (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/adapters/http.js:236:11)\n at IncomingMessage.emit (events.js:201:15)\n at endReadableNT (_stream_readable.js:1130:12)\n at processTicksAndRejections (internal/process/task_queues.js:83:17)","config":{"url":"https://discordapp.com/api/webhooks/<...MY URL....>","method":"post","data":"{}","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","User-Agent":"axios/0.19.2","Content-Length":2},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe a revive of an old topic, however:
You selected BitBucket, but I see you are using BitBucketServer (the selfhosted option), you need to select that instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've selected bitbucket server and still have this as a response:
{"message":"Request failed with status code 400","name":"Error",
"stack":"Error: Request failed with status code 400\n
at createError (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/core/createError.js:16:15)\n
at settle (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/core/settle.js:17:12)\n
at IncomingMessage.handleStreamEnd (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/adapters/http.js:236:11)\n
at IncomingMessage.emit (events.js:201:15)\n
at endReadableNT (_stream_readable.js:1130:12)\n
at processTicksAndRejections (internal/process/task_queues.js:83:17)",
"config":{"url":"https://discordapp.com/api/webhooks/<-- My Webhook Id -->",
"method":"post","data":"{\"embeds\":[{\"title\":\"Test Connection\",
\"description\":\"You have successfully configured Skyhook with your BitBucket Server instance.\",
\"fields\":[{\"name\":\"Test\"}],\"footer\":{\"text\":\"Powered by Skyhook\"},\"color\":2117761}]}",
"headers":{"Accept":"application/json, text/plain, */*",
"Content-Type":"application/json","User-Agent":"axios/0.19.2","Content-Length":216},
"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1}}
And I am receiving 502 in bitbucket testing connection. Am I doing something wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well... seems like https://skyhook.glitch.me is dead now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with skyhookapi.com they seemed to decommissioned glitch.me for good
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try MyRepoBot for Discord, it allows you to get updates from Bitbucket (as well as Github, Gitlab) in your Discord space: https://discord.com/api/oauth2/authorize?client_id=1166718780311879750&permissions=0&scope=applications.commands%20bot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any updates ? Discord webhooks still not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
skyhookapi.com worked for me as suggested by @Yanislav Vasilev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Push
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.