You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the last year Atlassian added support to Jira Data Center for using Personal Access Tokens to access Jira API instead of basic auth with username and password. It has been available in cloud for some time and basic auth with username and password is not allowed for the cloud anymore.
Related to this library the pycontribs/jira library does not support PAT login but can be fixed in local script/application by just changing the HTTP headers. Workaround/solution available in a comment by skaiaa at pycontribs/jira#989 (comment) a pull request is available at pycontribs/jira#991 but is blocked by continuous integration infrastructure issues tracked in pycontribs/jira#896
I just had a few minutes in June to look into how to solve this with the python-insight library but couldn't find any straight forward solution. I will look at it again in August/September and filing this issue so others can come with suggestions in advance on how to best solve this. If it is possible already today I'm happy with such an answer as well ;)
I have just released a new version that splits the auth logic in multiple parameters. One of them is token_auth which takes the token as a String and uses it as the Bearer token. This works with the DC PATs.
During the last year Atlassian added support to Jira Data Center for using Personal Access Tokens to access Jira API instead of basic auth with username and password. It has been available in cloud for some time and basic auth with username and password is not allowed for the cloud anymore.
Related to this library the pycontribs/jira library does not support PAT login but can be fixed in local script/application by just changing the HTTP headers. Workaround/solution available in a comment by skaiaa at pycontribs/jira#989 (comment) a pull request is available at pycontribs/jira#991 but is blocked by continuous integration infrastructure issues tracked in pycontribs/jira#896
I just had a few minutes in June to look into how to solve this with the python-insight library but couldn't find any straight forward solution. I will look at it again in August/September and filing this issue so others can come with suggestions in advance on how to best solve this. If it is possible already today I'm happy with such an answer as well ;)
Notes
The text was updated successfully, but these errors were encountered: