Skip to content

Commit

Permalink
Create a Jira task, when github issue is created (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolenda-sumo authored Nov 30, 2023
1 parent 1035b5f commit 9c09e25
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/create-jira-task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create Jira task

on:
issues:
types:
- opened

jobs:
create-jira-issue:
runs-on: ubuntu-22.04
steps:
- name: Create Jira task
id: create-jira-task
uses: tomhjp/[email protected]
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
with:
project: OSC
issuetype: "Task"
summary: "[sumologic-otel-collector] ${{ github.event.issue.title }} #${{ github.event.issue.number }}"
description: "${{ github.event.issue.body }}\n\nSee: ${{github.event.issue.html_url}}"
extraFields:
'{"labels": ["github_issue", "opensource_gardener"], "priority": {"name": "High"}, "assignee": {"id": "${{ secrets.JIRA_USER_ID
}}"}}'

0 comments on commit 9c09e25

Please sign in to comment.