Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Connecting to JIRA api with 2fa enabled by organization

Liz I'm New Here Jun 13, 2022

Hi all,

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!!



0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you