We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e5b33a commit 4a25d73Copy full SHA for 4a25d73
pkg/jira/create.go
@@ -153,7 +153,7 @@ func (*Client) getRequestData(req *CreateRequest) *createRequest {
153
subtaskField = req.SubtaskField
154
}
155
156
- if req.projectType == ProjectTypeNextGen || data.Fields.M.IssueType.Name == subtaskField {
+ if req.projectType == ProjectTypeNextGen || strings.EqualFold(data.Fields.M.IssueType.Name, subtaskField) {
157
data.Fields.M.Parent = &struct {
158
Key string `json:"key"`
159
}{Key: req.ParentIssueKey}
0 commit comments