diff --git a/actions.go b/actions.go index 63d3413..519c0c7 100644 --- a/actions.go +++ b/actions.go @@ -157,6 +157,10 @@ func ActionUseBoard(args []string) { } func ActionUseCurrentSprint(_ []string) { + if !HasBoard() { + printError("Please select a board first", nil) + return + } boardId := GetBoardId() sprint, err := GetCurrentSprint(boardId) if err != nil {