I wants to use jira server api to get issue, creste issue in jira core server. But what is troubling me is how can I maintain the session after getting all the token and secret key.
Do I need to take the access token and key from the database everytime I wants to request an api to be hit. I am using spring boot for developing restful api for jira. Below is the method that I am currently using to hit an jira api now.
OAuthParameters parameters = jiraOAuthClient.getParameters(tmpToken, secret, properties.get(CONSUMER_KEY), properties.get(PRIVATE_KEY));
HttpResponse response = getResponseFromGetUrl(parameters, new GenericUrl(url));
I am using spring core server 8.2.4 rest apis.
Please let me know if there is some method through which we dont need to execute the code again again to get the access token from database.
Please also refer some example which can be of help in persisting the session.
Thanks
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.