I have a question regarding using OAuth to authenticate against the REST API's. I've followed the tutorial here (https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/) to the point of getting an access code and generating an access token.
The integration I am developing is a python script that will be called in an automated manner, essentially a bot, and using the REST API documented here (https://developer.atlassian.com/cloud/jira/service-desk/rest). I have it functioning with basic authentication, but would prefer to use something more secure like OAuth in production. The examples given for oauth seem to all be the 'full' request chain and require manual intervention on the part of the user to authorize the request.
Assuming I already have an access token, how would I add OAuth authentication to a Python REST request, such as the 'Get' example outlined here? https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-get
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