-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
asteiker
committed
Jan 31, 2024
1 parent
8464095
commit 517dcee
Showing
1 changed file
with
29 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,29 @@ | ||
name: GitHub Issue to JIRA | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Jira issue | ||
steps: | ||
- name: Login | ||
uses: atlassian/gajira-login@v3 # Required for authenticating to Jira | ||
env: | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | ||
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | ||
|
||
- name: Create | ||
id: create | ||
uses: atlassian/gajira-create@v3 | ||
with: | ||
project: CRYO | ||
issuetype: Story | ||
summary: "GitHub Issue: ${{ github.event.issue.title }}" | ||
description: "${{ github.event.issue.body }}.\n\nCreated on GitHub by user ${{ github.actor }}" | ||
|
||
- name: Log created issue | ||
run: echo "Issue ${{ steps.create.outputs.issue }} was created" |