diff --git a/provider/jira/jira.go b/provider/jira/jira.go index 5e45dc0..6e54e19 100644 --- a/provider/jira/jira.go +++ b/provider/jira/jira.go @@ -129,7 +129,9 @@ func (p *jiraSimple) GetOptValues(_ context.Context, opts *domain.NotifierSecret var issueTypeValues Values for _, issueType := range project.IssueTypes { - issueTypeValues = append(issueTypeValues, Value{ID: issueType.ID, Name: issueType.Name}) + if !issueType.Subtask { + issueTypeValues = append(issueTypeValues, Value{ID: issueType.ID, Name: issueType.Name}) + } } ProjectKeyIssueTypeMap[project.Key] = ProjectKeyInfo{IssueType: issueTypeValues}