diff --git a/.github/workflows/jira-issue-transfer.yml b/.github/workflows/jira-issue-transfer.yml index 36746a2e52..b91df24263 100644 --- a/.github/workflows/jira-issue-transfer.yml +++ b/.github/workflows/jira-issue-transfer.yml @@ -13,32 +13,29 @@ # limitations under the License. # # SPDX-License-Identifier: Apache-2.0 - name: Jira Issue Transfer on: issues: types: - opened - jobs: build: - runs-on: self-hosted + runs-on: self-hosted steps: - - name: Login - uses: atlassian/gajira-login@v3 - env: - JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} - JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} - - name: Jira Create - uses: atlassian/gajira-create@v3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - project: BP - issuetype: 'Bug Report' - summary: ${{ github.event.issue.body }} - description: ${{ github.event.issue.body }} - extraFields: '"labels": "GitHubReport"}' - + - name: Login + uses: atlassian/gajira-login@v3 + env: + JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} + JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} + JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} + - name: Jira Create + uses: atlassian/gajira-create@v3 + with: + project: BP + issuetype: 'Bug Report' + summary: ${{ github.event.issue.body }} + description: ${{ github.event.issue.body }} + extraFields: '"labels": "GitHubReport"}' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}