I use self hosted jira and I'm currently trying to connect to the jira api using a python script having 2fa enabled by my organization. I'm not an admin of the project and after creating a personal access token I only got so far to get a response from the server telling me to put in the OTP to proceed. I was thinking weather I could possibly pass the OTP as part of the authorization header when making the request to the api but couldn't find any useful hints on how to do that. I have also been looking into OAuth tokens but from my understanding I'm unable to create one since I don't have the option to create an application link within jira (since I'm not an admin). Do you have any ideas on how I could manage to establish a connection to the api?
Any help would be appreciated!!
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