Skip to content

Commit

Permalink
add issue title and body in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yevoros committed Jul 31, 2024
1 parent c34af54 commit 5c0f693
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/create_jira_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_BASE_URL: "https://droidsonroids.atlassian.net"
run: |
ISSUE_SUMMARY="Brief summary of the issue"
ISSUE_DESCRIPTION="Detailed description of the issue"
ISSUE_TITLE="${{ github.event.issue.title }}"
ISSUE_BODY="${{ github.event.issue.body }}"
curl -X POST \
-u "[email protected]:${JIRA_API_TOKEN}" \
-u "${JIRA_AUTH_EMAIL}:${JIRA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"fields": {
"project": {
"key": "FT"
},
"summary": "Brief summary of the issuee",
"description": "Detailed description of the issue",
"issuetype": {
"summary": "$ISSUE_TITLE",
"description": "$ISSUE_BODY",
"name": "Task"
}
}
Expand Down

0 comments on commit 5c0f693

Please sign in to comment.