also use login for subtask

This commit is contained in:
Keien Ohta
2020-09-14 21:16:30 -07:00
committed by Louis DeLosSantos
parent c2abbd9864
commit 6fbc522ee7
+1 -1
View File
@@ -106,7 +106,7 @@ func CmdSubtask(o *oreo.Client, globals *jiracli.GlobalOptions, opts *SubtaskOpt
} }
input.Overrides["project"] = opts.Project input.Overrides["project"] = opts.Project
input.Overrides["issuetype"] = opts.IssueType input.Overrides["issuetype"] = opts.IssueType
input.Overrides["user"] = globals.User.Value input.Overrides["login"] = globals.Login.Value
var issueResp *jiradata.IssueCreateResponse var issueResp *jiradata.IssueCreateResponse
err = jiracli.EditLoop(&opts.CommonOptions, &input, &issueUpdate, func() error { err = jiracli.EditLoop(&opts.CommonOptions, &input, &issueUpdate, func() error {