jira-cli
jira-cli copied to clipboard
jira sprint list - empty
Describe the bug I am able to list issues, projects boards etc. however sprint does not work. I haven't looked into it yet but doing a debug I can see the follow URI is called with boards '0' which I'm not sure where this comes from?
/rest/agile/1.0/board/0/sprint?state=active,closed&startAt=0&maxResults=50
Also no matter what I do I can't list sprints (even if I change to a different project)
Please provide following details
- JiraCLI Version:
Version="1.0.0", GitCommit="e94433858ee31e16d4b41c14032864f3c5361115", CommitDate="2022-06-23T06:35:37+00:00", GoVersion="go1.18.3", Compiler="gc", Platform="linux/amd64")
2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
Jira Cloud
3. What operating system are you using? Also mention version.
MacOS 11.6
4. What terminal are you using? Also mention version.
default macos terminal
```
To Reproduce
Steps to reproduce the behavior:
jira sprint list- ...
- See error
Expected behavior List sprints of project
After some code diving - I've worked around this by hard-coding the configuration but not ideal, would be great if it queried and listed all sprints by default,
i.e.
board:
id: 23
Hi @rhysjtevans, it should list all sprints by default. The initialization step fetches all data required for the tool (except for some older versions of jira).
I would assume for some reason the config was not fully generated for your installation. Did you select the board during the jira init process?
Closing due to inactivity. Please feel free to comment or open a new issue if you still need help.