Fix for Alexis

This commit is contained in:
Olivier 2017-01-12 13:16:47 -05:00
parent 6429d67473
commit 558ad5a54a
No known key found for this signature in database
GPG key ID: 1A9FE7C1DFF65CB0

View file

@ -58,7 +58,7 @@ func NewListCmd(args []string) (*ListCmd, error) {
if len(ccmd.args) == 0 { if len(ccmd.args) == 0 {
proj := os.Getenv("JIRA_PROJECT") proj := os.Getenv("JIRA_PROJECT")
if proj != "" { if proj != "" {
proj = fmt.Sprintf(" and project = %s ", proj) proj = fmt.Sprintf(" and project = '%s'", proj)
} }
ccmd.args = []string{fmt.Sprintf("sprint in openSprints() %s order by rank", proj)} ccmd.args = []string{fmt.Sprintf("sprint in openSprints() %s order by rank", proj)}
if *verbose { if *verbose {