test issue please ignore #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
# Creates jira tickets for new github issues to help triage | |
name: Jira Issue Creator | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: Jira | |
name: SDK Bot Jira Issue Creation | |
steps: | |
- name: Login | |
uses: atlassian/gajira-login@master | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Create issue | |
id: create | |
uses: atlassian/gajira-create@master | |
with: | |
project: ${{ secrets.JIRA_PROJECT }} | |
issuetype: Task | |
summary: | | |
[SDK - experiment-jvm-server] ${{ github.event.issue.title }} | |
description: | | |
${{ github.event.issue.html_url }} | |
fields: '{ | |
"labels": ["experiment-jvm-server", "sdk-backlog-grooming", "github"] | |
}' | |
- name: Log created issue | |
run: echo "Issue SKY-${{ steps.create.outputs.issue }} was created" |