Describe the bug
Authentication error (http 403) when using JiraTUI with Jira Datacenter
To Reproduce
Steps to reproduce the behavior:
- Go to your jira instance, click your avatar in the header to got to your profile, click Personal Access Tokesn, click Create token to issue a personal access token
uv tool install jiruatui
- create config:
jira_api_username: "..."
jira_api_base_url: "https://jira...."
jira_api_token: "<PAT>"
jira_api_version: 2
jiratui issues search -k MYISSUE
- See error:
Client error '403 Forbidden' for url
'https://jira..../rest/api/2/issue/MYISSUE?expand=editmeta&fields=id%2Ckey%2Cstatus%2Csummary%2Ccrea
ted%2Cupdated%2Cauthor%2Creporter%2Cissuetype%2Cassignee'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
Unable to retrieve the work item
An error occurred while trying to retrieve the work item.
Error Details
┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Work Item Key ┃ Error ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ TOARCHI-2420 │ Client error '403 Forbidden' for url │
│ │ 'https://jira.../rest/api/2/issue/MYISSUE?expand=editmeta&fields=id%2Ckey%2Cst… │
│ │ For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403 │
└───────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Expected behavior
See output w/ issue
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: WSL/Ubuntu 24.04
- Browser: edge on Windows
- Version: JiraTUI 1.6.2
Additional context
Same url works perfectly well using curl and Toke Bearer header
Jira Data-Center v10.3.18
Describe the bug
Authentication error (http 403) when using JiraTUI with Jira Datacenter
To Reproduce
Steps to reproduce the behavior:
uv tool install jiruatuijiratui issues search -k MYISSUEExpected behavior
See output w/ issue
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Same url works perfectly well using curl and Toke Bearer header
Jira Data-Center v10.3.18