From 9bbb501a7b18debcbb71696ac9295c9e36a390a5 Mon Sep 17 00:00:00 2001 From: Patrick Bernal Date: Tue, 14 Apr 2020 18:14:20 -0400 Subject: [PATCH] Create jira_test.yml testing a Jira create while opening an issue on GH --- .github/workflows/jira_test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/jira_test.yml diff --git a/.github/workflows/jira_test.yml b/.github/workflows/jira_test.yml new file mode 100644 index 000000000..2457ffb07 --- /dev/null +++ b/.github/workflows/jira_test.yml @@ -0,0 +1,30 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Runs when an issue is opened or reopened. +on: + issues: + types: [opened, reopened] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Create an issue + - name: Jira Create issue + uses: atlassian/gajira-create@v2.0.0 + with: + # Key of the project + project: PBT + # Type of the issue to be created. Would need to add in conditionals by the label most likely. + issuetype: Bug + # Issue summary + summary: github.event.issues.issue.title + # Issue description + description: github.event.issues.issue.body