Skip to content

Commit

Permalink
Update addPRtoJIRA.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrabain committed Jun 10, 2024
1 parent 7000af4 commit 0b9f6d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/addPRtoJIRA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ jobs:
fi
COMMENT="Pull Request Created: [$PR_TITLE]($PR_URL)"
echo "Confirmed1"
echo "Comment Constructed: $COMMENT"
# Create the JSON payload
PAYLOAD=$(cat <<EOF
{
"body": "$COMMENT"
}
EOF
)
echo "Payload Created: $PAYLOAD"
# Post comment to Jira
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" -X POST \
-H "Content-Type: application/json" \
Expand Down

0 comments on commit 0b9f6d9

Please sign in to comment.