From 49f7dddb5f2df886f34a4172ed669bf4e6c17cb6 Mon Sep 17 00:00:00 2001 From: Chase King Date: Mon, 24 Feb 2025 10:09:04 -0500 Subject: [PATCH] Attempt #22 --- devops/scripts/jira_writeback.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devops/scripts/jira_writeback.sh b/devops/scripts/jira_writeback.sh index 95b23a0a..1d605072 100755 --- a/devops/scripts/jira_writeback.sh +++ b/devops/scripts/jira_writeback.sh @@ -142,4 +142,8 @@ add_comment() { -H "Authorization: Basic $AUTH" \ -d "$request" \ "$JIRA_SERVER/rest/api/3/issue/$issue_key/comment" -} \ No newline at end of file +} + +if [[ $# -gt 0 ]]; then # IF function call passed in + "$@" # Call function +fi \ No newline at end of file