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 f738baa commit 8ef8760Copy full SHA for 8ef8760
notify.go
@@ -92,7 +92,7 @@ func (r *Receiver) Notify(data *alertmanager.Data) (bool, error) {
92
if len(r.conf.Components) > 0 {
93
issue.Fields.Components = make([]*jira.Component, 0, len(r.conf.Components))
94
for _, component := range r.conf.Components {
95
- issue.Fields.Components = append(issue.Fields.Components, &jira.Component{Name: component})
+ issue.Fields.Components = append(issue.Fields.Components, &jira.Component{Name: r.tmpl.Execute(component, data)})
96
}
97
98
0 commit comments