File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3131 JIRA_USER_EMAIL : ${{ secrets.AST_JIRA_USER_EMAIL }}
3232 JIRA_API_TOKEN : ${{ secrets.AST_JIRA_API_TOKEN }}
3333
34+ - name : Determine Fields
35+ id : fields
36+ run : |
37+ if [[ "${{ inputs.title }}" == "[BUG]" ]]; then
38+ echo "fields=${{ env.JIRA_FIELDS_BUG }}" >> $GITHUB_ENV
39+ else
40+ echo "fields=${{ env.JIRA_FIELDS_OTHER }}" >> $GITHUB_ENV
41+ fi
42+
3443 - name : Jira Create issue
3544 id : create_jira_issue
3645 uses : atlassian/gajira-create@1ff0b6bd115a780592b47bfbb63fc4629132e6ec # v3
3948 issuetype : Task
4049 summary : ' ${{inputs.repo}} ${{inputs.title}}'
4150 description : ${{inputs.body}} see more at ${{inputs.html_url}}
42- fields : ${{ secrets.AST_JIRA_FIELDS }}
51+ fields : ${{ env.fields }}
4352
4453 - name : Add comment to GitHub issue
4554
You can’t perform that action at this time.
0 commit comments