I was able to successfully create webhooks via api and was able to fetch from api as well. but am unable to see them in jira dashboard. am unable to put my code here so please check my code here.
why am unable to see the webhooks under administration of my jira section while my api creates and returns... am unable to see its working also... i tried edit some issues and i never got payload.
can someone help on this ?
@Joseph Ranjan Welcome to Atlassian Community,
Your app is registering a dynamic webhook using this endpoint. Dynamic Webhooks once registered are specific to your app only, they are not related to admin webhooks that you see under Settings section.
Read more about registering webhooks here. The document also suggest that admin webhooks can be registered by using below v1 API endpoint, whereas your app is currently trying to do this.
/rest/webhooks/1.0/webhook
I hope this information helps.
@Joseph Ranjan If that resolves your query, could you please mark my answer as accepted? This would also help others in the community who might face a similar situation in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Akash Singh for your help on this. Is there any interface in Jira to see and track Dynamic Webhooks. The problem here is the dynamic webhooks are being created and being displayed when i fetch with API... but no payload is being received on the URL when i do changes in Jira (they match the webhook conditions for them to be triggered)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Joseph Ranjan You can use GET /rest/api/3/webhook to fetch all the registered dynamic webhooks for the calling app.
Your php code to register the webhook does seem to be correct, you can also check if the webhook had any failed deliveries in last 72 hours using the this endpoint
GET /rest/api/3/webhook/failed
Also, please make sure that the URL that specifies where to send the webhooks, uses the same base URL as the OAUTH 2.0 app.
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.
@Akash Singh i was trying to call this endpoint with oauth2.0 access token
https://myname.atlassian.net/rest/agile/1.0/board
am getting 401 error only. while the same token works on above webhooks api calls. is there anything am missing here ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.