Skip to content

Commit c0d58e3

Browse files
authored
Fix jira automation (#1301)
1 parent 80ef0be commit c0d58e3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/create-jira.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,18 @@ jobs:
1919
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
2020
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
2121
JIRA_API_TOKEN: ${{ secrets.JIRA_TOKEN }}
22-
2322
- name: Create
2423
id: create
2524
uses: atlassian/gajira-create@master
2625
with:
27-
project: LIBRARIES
26+
project: ${{ secrets.JIRA_PROJECT }}
2827
issuetype: Bug
2928
summary: |
3029
[${{ github.event.repository.name }}] (${{ github.event.issue.number }}): ${{ github.event.issue.title }}
3130
description: |
3231
Github Link: ${{ github.event.issue.html_url }}
3332
${{ github.event.issue.body }}
34-
# Parent and Epic Link fields (set to same)
35-
fields: '{
36-
"parent": {"key": "LIBRARIES-1963"},
37-
"customfield_10002": "LIBRARIES-1963"
38-
}'
39-
33+
fields: '{"parent": {"key": "${{ secrets.JIRA_EPIC_KEY }}"}}'
34+
4035
- name: Log created issue
4136
run: echo "Issue ${{ steps.create.outputs.issue }} was created"

0 commit comments

Comments
 (0)