jira-cli: `404 Not Found` on selecting the default board
Describe the bug
Hello! ๐๐ผ Iโm trying to set this up for an internal board thatโs under a project, but this fails with a 404.
โ[rexagod@nebuchadnezzar] [/dev/pts/0] [1]
โ[~]> jira init
? Installation type: Cloud
? Link to Jira server: https://issues.redhat.com
? Login email: <email>
? Default project: <project>
? Default board: <board>
โ Received unexpected response '404 Not Found' from jira. Please try again.
Please provide following details
- JiraCLI Version:
(Version="main", GitCommit="eb842e18014303a575fde8e19508b3c7c13982c5", CommitDate="2023-05-09T07:09:45+00:00", GoVersion="go1.20.4", Compiler="gc", Platform="linux/amd64")
- Are you using Jira cloud or on-premise jira server?
โ Missing configuration file. Run 'jira init' to configure the tool.
- What operating system are you using? Also mention version.
NAME="Fedora Linux" VERSION="38 (Workstation Edition)" ID=fedora VERSION_ID=38
- What terminal are you using? Also mention version.
kitty 0.28.1
To Reproduce
Steps to reproduce the behavior:
- I encountered some errors initially, so I followed https://github.com/ankitpokhrel/jira-cli/issues/477#issuecomment-1258364716 to fix them.
- On selecting a board, it still seems to fail (with a different error, 404).
Expected behavior It successfully fetches the board details and creates the config.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 17 (5 by maintainers)
@rexagod I just noticed that youโve selected Installation type as
Cloud
, https://issues.redhat.com is aLocal
installation so please selectLocal
as an installation type duringjira init
. That should solve your issue.@jonathf Interestingly I couldnโt reproduce the issue in the same Jira version as yours v9.4.7. Could you check the output of
jira init --debug
, is it also failing oncreatemeta
endpoint?@ankitpokhrel Thank you for looking into this! Please find the answers to your questions below, and feel free to let me know if I can help with anything else from my side! ๐
Correct.
Doesnโt seem like it. ๐
@ankitpokhrel Thanks again for the timely responses and all the work you put into this! ๐
Facinating, I missed that as well. All three of us assumed that the server should be cloud. It now works here as well.
Thank you for the help everyone.
I guess we can close the issue now.