I'm accessing JIRA within python and the Python JIRA library using:
from jira import JIRA
options = {'server': 'https://myserver.atlassian.net'}
jira = JIRA(options=options, basic_auth=('username', 'password'))and it work's great but after a couple times i'm doing so i'm starting to get an
Err: 401 Unauthorized
and my user password is not valid anymore.
Everytime that it happens I need to change my password to a new one and all of this scenario will occur again.
Is it because I'm using the basic_auth method to login to JIRA?