Forums

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

Unable to see webhooks on Jira dashboard (created via Rest API) [PHP]

Joseph Ranjan March 4, 2025

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. 

https://pastebin.com/gBdCEpKw

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 ?

1 answer

1 accepted

3 votes
Answer accepted
Akash Singh
Community Champion
March 4, 2025

@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.

Akash Singh
Community Champion
March 5, 2025

@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.

Joseph Ranjan March 5, 2025

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)

Akash Singh
Community Champion
March 6, 2025

@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.

Joseph Ranjan March 7, 2025

thank you @Akash Singh 

Like Akash Singh likes this
Joseph Ranjan March 20, 2025

@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 ?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events