Skip to content

Commit

Permalink
Update jira-issue-transfer.yml (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
slokie-so authored Nov 15, 2023
1 parent a57f130 commit d82e80b
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/jira-issue-transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d82e80b

Please sign in to comment.