Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yevoros committed Aug 5, 2024
1 parent 6a498b2 commit a9a7204
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/create_jira_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,28 @@ jobs:
ISSUE_TYPE="Story"
fi
# Debug output
echo "ISSUE_TITLE: $ISSUE_TITLE"
echo "ISSUE_BODY: $ISSUE_BODY"
echo "ISSUE_TYPE: $ISSUE_TYPE"
curl -X POST \
-u "yevhenii.oros@droidsonroids.pl:${JIRA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d "{
\"fields\": {
\"project\": {
\"key\": \"FT\"
-d @- <<EOF
{
"fields": {
"project": {
"key": "FT"
},
\"summary\": \"${ISSUE_TITLE}\",
\"description\": \"${ISSUE_BODY}\",
\"issuetype\": {
\"name\": \"${ISSUE_TYPE}\"
"summary": "$ISSUE_TITLE",
"description": "$ISSUE_BODY",
"issuetype": {
"name": "$ISSUE_TYPE"
}
}
}" \
}
EOF
$JIRA_BASE_URL/rest/api/2/issue/
# name: Sync issues to jira
Expand Down

0 comments on commit a9a7204

Please sign in to comment.