Hi All,
I am new to Atlassian products doing POC. Could you please tell me the steps to generate oauth token for JIRA users so that the token can be used to login to JIRA to create the issues programmatically?
Cheers,
Simon
Community moderators have prevented the ability to post new answers.
Hi Joseph!
> generate oauth token for JIRA users
OAuth Request and Access tokens are returned by Service provider (i.e. JIRA). Probably you want to generate public and private keys:
openssl genrsa -out jira.pem 1024 openssl rsa -in jira.pem -pubout -out jira.pub
This diagram shows OAuth flow: http://oauth.net/core/diagram.png
Java OAuth client tutorial: https://developer.atlassian.com/jiradev/api-reference/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication BTW you can use rest-oauth-client-1.0.one-jar.jar in your application.
More samples: https://bitbucket.org/atlassian_tutorial/atlassian-oauth-examples
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.