From 5de4ce3c45b47f165216e36d792acb7dd586629b Mon Sep 17 00:00:00 2001 From: Jason Wells Date: Sun, 31 Dec 2023 13:40:47 -0800 Subject: [PATCH] Update pkg/notify/notify.go Co-authored-by: Bartlomiej Plotka Signed-off-by: Jason Wells --- pkg/notify/notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/notify/notify.go b/pkg/notify/notify.go index 8a09fc1..85157de 100644 --- a/pkg/notify/notify.go +++ b/pkg/notify/notify.go @@ -125,7 +125,7 @@ func (r *Receiver) Notify(data *alertmanager.Data, hashJiraLabel bool, updateSum } } - // update description after possibly adding a comment so that it's possible to detect redundant first comment + // update description if enabled. This has to be done after comment adding logic which needs to handle redundant commentary vs description case. if updateDescription { if issue.Fields.Description != issueDesc { retry, err := r.updateDescription(issue.Key, issueDesc)