It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Access JIRA API using JIRA Python

I am using Python 2.7 and the JIRA 2.0.0 python library to try to make rest calls using the JIRA api. I am getting an error "WARNING:root:Got recoverable error from GET, will retry [1/3] in 3.80091917566s. Err: 401" and cannot figure out what the problem is.

I am able to use Postman API tool and successfully login using the same credentials as above. If anyone has a suggestion with using requests library that is fine too.

from jira import JIRA
options = {'server'''}
JIRA(options=options, basic_auth=(    '''myApiToken')

1 answer

1 accepted

0 votes
Answer accepted

I was able to get it working using my regular username and password. Maybe because we have an older version of JIRA? We are on Server 7.11.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

365 views 1 3
Join discussion

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