Skip to content
Discussion options

You must be logged in to vote

I was having the same issue, dug in and found JIRA documentation for on premise states:

Using PATs
To use a personal access token for authentication, you have to pass it as a bearer token in the Authorization header of a REST API call.

This can be controlled using the use_bearer_authentication config field in jiratui

jira_api_username: 'xxx@xxx.com'
jira_api_token: 'xxxxxxx'
jira_api_base_url: 'https://jira.company.com/'
cloud: False
use_bearer_authentication: True

As you mentioned the username should not be required as its not used with bearer auth, which is visible in the jiratui auth logic:

class JiraTUIBearerAuth(httpx.Auth):
    def __init__(self, token: str, username: str | None = N…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rcorre
Comment options

Answer selected by whyisdifficult
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants