From 6f90137c79a30e2ec3861e0d92ace10a18bb999e Mon Sep 17 00:00:00 2001 From: Nathan Gotz Date: Thu, 14 Sep 2023 14:52:06 -0500 Subject: [PATCH] fix: :bug: Fixes error message for doTransition to display the proper transition state Signed-off-by: Nathan Gotz --- 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 ca98486..3f07a45 100644 --- a/pkg/notify/notify.go +++ b/pkg/notify/notify.go @@ -425,6 +425,6 @@ func (r *Receiver) doTransition(issueKey string, transitionState string) (bool, return false, nil } } - return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", r.conf.ReopenState, issueKey) + return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", transitionState, issueKey) }