Skip to content

Commit

Permalink
chore: add jira issue creator action
Browse files Browse the repository at this point in the history
  • Loading branch information
bgiori committed Apr 2, 2024
1 parent 7cb7f04 commit 5266906
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/jira-issue-create.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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 - evaluation-proxy] ${{ github.event.issue.title }}
description: |
${{ github.event.issue.html_url }}
fields: '{
"labels": ["evaluation-proxy", "sdk-backlog-grooming", "github"]
}'

- name: Log created issue
run: echo "Issue SKY-${{ steps.create.outputs.issue }} was created"

0 comments on commit 5266906

Please sign in to comment.