Skip to content

Commit de18190

Browse files
committed
[skip changelog] Fix workflow to mirror issues to Jira
1 parent 58e903a commit de18190

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/jira-issue.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
1515
env:
1616
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
17+
ISSUE_TITLE: ${{ github.event.issue.title }}
18+
ISSUE_BODY: ${{ github.event.issue.body }}
1719

1820
steps:
1921
- name: Installs Jira CLI
@@ -36,8 +38,8 @@ jobs:
3638
--noedit \
3739
-p ${{ secrets.JIRA_PROJECT_CODE }} \
3840
-i Task \
39-
-o summary="${{ github.event.issue.title }}" \
40-
-o description="${{ github.event.issue.body }}
41+
-o summary="$ISSUE_TITLE" \
42+
-o description="$ISSUE_BODY
4143
${{ github.event.issue.html_url }}" \
4244
>> output
4345
@@ -71,6 +73,8 @@ jobs:
7173
7274
env:
7375
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
76+
ISSUE_TITLE: ${{ github.event.issue.title }}
77+
ISSUE_BODY: ${{ github.event.issue.body }}
7478

7579
steps:
7680
- name: Installs Jira CLI
@@ -93,8 +97,8 @@ jobs:
9397
--noedit \
9498
-p ${{ secrets.JIRA_PROJECT_CODE }} \
9599
-i Task \
96-
-o summary="${{ github.event.issue.title }}" \
97-
-o description="${{ github.event.issue.body }}
100+
-o summary="$ISSUE_TITLE" \
101+
-o description="$ISSUE_BODY
98102
${{ github.event.issue.html_url }}" \
99103
>> output
100104

0 commit comments

Comments
 (0)