Skip to content

Update issue.yml

Update issue.yml #4

Workflow file for this run

- name: Create Jira Issue

Check failure on line 1 in .github/workflows/issue.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/issue.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
env:
JIRA_BASE_URL: ${{ secrets.JIRA_URL }}
JIRA_EMAIL: ${{ secrets.JIRA_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
run: |
echo "JIRA_BASE_URL=${JIRA_BASE_URL}"
curl --request POST \
--url "${JIRA_BASE_URL}/rest/api/3/issue" \
--user "${JIRA_EMAIL}:${JIRA_API_TOKEN}" \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"fields": {
"project": {
"key": "NS"
},
"summary": "Main order flow broken",
"issuetype": {
"id": "10005"
}
}
}'