Attempt #22
This commit is contained in:
parent
0b0a8d6d07
commit
49f7dddb5f
1 changed files with 5 additions and 1 deletions
|
|
@ -142,4 +142,8 @@ add_comment() {
|
||||||
-H "Authorization: Basic $AUTH" \
|
-H "Authorization: Basic $AUTH" \
|
||||||
-d "$request" \
|
-d "$request" \
|
||||||
"$JIRA_SERVER/rest/api/3/issue/$issue_key/comment"
|
"$JIRA_SERVER/rest/api/3/issue/$issue_key/comment"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ $# -gt 0 ]]; then # IF function call passed in
|
||||||
|
"$@" # Call function
|
||||||
|
fi
|
||||||
Loading…
Reference in a new issue