Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA connect app vs OAuth2.0

I have a project where I have to create JIRA issues programmatically but I am bit confused which way I should go.

Our application does some work and responsible to create JIRA tickets based on certain criteria  so we will have to store the keys of customers in case of OAuth2.0 and for JIRA connect this does not sound related to market place as we are not offering anything here.

 

Please let me know what is the best way to achieve this ??

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Jun 28, 2021

Either method can be used to make REST API calls to Jira Cloud, and both can be used to create issues on behalf of specific users (impersonation). The key difference here is how you are planning to build the app itself.  If you are planning to use the Connect framework, then you will end up using a JWT token as explained in Security for Connect apps.

However if you're not building a Connect app, or using the Forge framework, then you could be creating your app in some other framework and in turn you would then be expected to be using OAuth 2.0.  If that is the case, then check out OAuth 2.0 (3LO) apps as it explains in more detail how your application is expected to manage the OAuth handshake.

I created the OAuth 2.0 (3LO) apps but found that, currently it is not supported to make it public and thus, I would say it is not useful in my case. Because I am building this for our customers where they can create issue into their jira board from our platform. 

Also I noticed this doesn't work in case of on premise so do you have any recommendation to solve this use case for both on premise and cloud ??

Reply would be appreciated. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

47 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you