We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be informative We are unable to log in through JIRA with a Token.
Bug description Because the Username is mandatory and you only use basic auth in the jira connect method:
def connect_to_jira(jira_server, jira_username, jira_password): return JIRA( server=jira_server, basic_auth=(jira_username, jira_password), max_retries=0, options={ "verify": settings.JIRA_SSL_VERIFY, "headers": settings.ADDITIONAL_HEADERS, })
We are unable to log in through Token.
Steps to reproduce Steps to reproduce the behavior:
Expected behavior The connection to JIRA should work.
Deployment method (select with an X)
X
Environment information
Additional context (optional) For me, I see two solutions:
How to connect to JIRA with token (with the second solution):
def connect_to_jira(jira_server, jira_username, jira_password, jira_token): if jira_token: return JIRA( server=jira_server, token_auth=jira_token, max_retries=0, options={ "verify": settings.JIRA_SSL_VERIFY, "headers": settings.ADDITIONAL_HEADERS, }) return JIRA( server=jira_server, basic_auth=(jira_username, jira_password), max_retries=0, options={ "verify": settings.JIRA_SSL_VERIFY, "headers": settings.ADDITIONAL_HEADERS, })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Be informative
We are unable to log in through JIRA with a Token.
Bug description
Because the Username is mandatory and you only use basic auth in the jira connect method:
We are unable to log in through Token.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The connection to JIRA should work.
Deployment method (select with an
X
)Environment information
Additional context (optional)
For me, I see two solutions:
How to connect to JIRA with token (with the second solution):
The text was updated successfully, but these errors were encountered: