You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build a branch with a name that has two ticket IDs in it
e.g. bugfix/PRJ-4976-also-fixes-PRJ-5027
seems like the script finds two keys successfully, but the request fails
CircleCI Step Output
Script
#!/bin/bash --login -eo pipefail
#!/bin/bash
# This script requires Bash v4+ or zsh.
# MacOS on CircleCI ships with Bash v3.x as the default shell
# This script determines which shell to execute the notify script in.
if [[ "$(uname -s)" == "Darwin" && "$SHELL" != "/bin/zsh" ]]; then
echo "Running in ZSH on MacOS"
/bin/zsh -c "setopt KSH_ARRAYS BASH_REMATCH; $JIRA_SCRIPT_NOTIFY"
else
/bin/bash -c "$JIRA_SCRIPT_NOTIFY"
fi
Log
Running in ZSH on MacOS
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Issue keys found:
PRJ-4976PRJ-5027
Notification type: build
Posting payload to CircleCI for Jira Forge app
jq: parse error: Invalid escape at line 1, column 250
Error parsing response
Exiting...
Exited with code exit status 1
The text was updated successfully, but these errors were encountered:
Repro
bugfix/PRJ-4976-also-fixes-PRJ-5027
CircleCI Step Output
Script
Log
The text was updated successfully, but these errors were encountered: