Forums

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

How to support Oauth 2.0 for webhooks in Jira ??

shubham tak September 15, 2020

I am developing an app and I need to have Jira webhook support for my app. Also, I need Jira OAuth 2.0 authentication for my app as it provides better security. I tried to use OAuth 2.0 for all the API's mentioned in the Jira API documentation, almost every API is working except the webhook. Can you tell me why I am not being able to run webhook APIs with OAuth 2.0 authentication and if there is a way then how it is possible?? 

I saw Zapier uses Oauth 2.0 in their applications so I wanted to know that how can I also use it in webhooks?? 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2020

Hello @shubham tak

Thank you for reaching out.

Can you please confirm what is the exact call (hiding your domain) you are trying to run and confirm if you are running your app using Atlassian Connect?

as mentioned in the documentation below, you cannot use OAuth 2.0 (3LO) with Atlassian Connect apps. OAuth 2.0 (3LO) is used to allow external applications (Including Zapier) and services to access Atlassian product APIs on a user's behalf:

OAuth 2.0 (3LO) for apps 

Additionally, since this is a development question, I believe the best place to ask for help is in the Atlassian Developer Community:

https://community.developer.atlassian.com/ 

The mentioned portal was specifically created for development questions, where you will find articles and suggestions from other third-party partners and Atlassian developers. Feel free to open a new topic about your question there or search for similar topics about yous.

Let us know if you have any other questions.

shubham tak September 17, 2020

Thank you so much for your help. I am currently using an external app instead of an Atlassian connect app that is why I am confused because in the documentation it is mentioned that for external apps OAuth 2.0 is allowed for webhooks but still when running an API it is showing that OAuth 2.0 is not yet supported for webhooks and its still under development

gabriel
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!
October 21, 2020

For what it's worth, my team is experiencing the same roadblock. We've set up one of the new-style OAuth 2.0 (3LO) apps but are unable to hit any webhook-related REST API endpoints. This shortcoming is mentioned in the docs (only Connect apps can interact with webhook endpoints apparently) and there's an open ticket about it, though it doesn't seem to be on anyone's radar.

 

@Petter Gonçalvesany way we could have this addressed or prioritised? Thanks so much!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events