Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
issues:
types: [opened]

name: Create Jira Issue

jobs:
build:
runs-on: ubuntu-latest
name: Create Jira Issue
steps:
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_ILYA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_ILYA_API_TOKEN }}

- name: Create
id: create
uses: atlassian/gajira-create@v3
with:
project: MOB
issuetype: Bug
summary: "${{ github.repository }}: #${{ github.event.issue.number }} by ${{ github.event.issue.user.login }}: ${{ github.event.issue.title }}"
description: ${{ github.event.issue.body }}
fields: '{"customfield_11268": {"id": "10668"} }'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming this is just a test field while the action runs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it sets a specific field in our jira instance