-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a Jira task, when github issue is created (#1352)
- Loading branch information
1 parent
1035b5f
commit 9c09e25
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||
}}"}}' |