GitHub Issue to JIRA #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Issue to JIRA | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Jira issue | |
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: Create | |
id: create | |
uses: atlassian/gajira-create@v3 | |
with: | |
project: VGTVSPHERE | |
issuetype: Story | |
summary: "GitHub Issue: ${{ github.event_name }}" | |
description: "Created by ${{ github.actor }}" | |
- name: Log created issue | |
run: echo "Issue ${{ steps.create.outputs.issue }} was created" |