Skip to content

Commit 10ad221

Browse files
committed
attempt to make tests pass
1 parent 6e90b20 commit 10ad221

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jiracmd/create.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ func CmdCreate(o *oreo.Client, globals *jiracli.GlobalOptions, opts *CreateOptio
9393
Overrides: opts.Overrides,
9494
}
9595
input.Overrides["project"] = opts.Project
96-
input.Overrides["summary"] = opts.Summary
96+
if opts.Summary != "" {
97+
input.Overrides["summary"] = opts.Summary
98+
}
9799
input.Overrides["issuetype"] = opts.IssueType
98100
input.Overrides["login"] = globals.Login.Value
99101

0 commit comments

Comments
 (0)