How to use generated Customer key and Private key to make a call to JIRA API

swati piplani September 16, 2017

How to use generated Customer key and Private key to make a call to JIRA API using OAUTH from an Angular 2 application.

 

3 answers

2 votes
MoroSystems Support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2017

Hi,

do you know this tutorial? https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

there are examples in multiple programming languages, so it might help you too:

https://bitbucket.org/atlassian_tutorial/atlassian-oauth-examples/src

2 votes
Peter DeWitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2017

Swati, it looks like you question has been discussed in a previous post.  Check this discussion out.

https://community.atlassian.com/t5/Jira-questions/How-to-get-consumer-key-for-jira-Oauth1/qaq-p/49925

Hope it helps!

1 vote
swati piplani September 16, 2017

Hi Peter , 

I was creating a Postman Request to JIRA using O-Auth 2 .

So my Customer Key is "Client Key"

and my private key is my "Client Secret" 

But It's saying can not complete OAuth Login .

Please let me know if you have any idea about this ?

Suggest an answer

Log in or Sign up to answer