deskflow/.github/workflows/job-jira-issues.yml
Kyle Bloom 446b0a2e95
Update workflows (#7283)
* Update test actions

* Format stale issues

* Format jira issues workflow

* Format changelog check workflow

* Format build workflows

* Format create build

Also add make full action to remove core installs

* Format codeql analysis

* Add .nvmrc

* Update changelog

* Add concurrency group to CodeQL

* sudo install

* Update to windows latest

* Upgrade fedora distro list

* Add arch to runtime matrix

* Fix path for m1 builds

* Add enterprise and business flags
2023-09-25 17:26:06 +01:00

40 lines
1.2 KiB
YAML

on:
issues:
types: [opened]
name: Send Issue to Jira
jobs:
jiraIssueCreation:
name: Jira Issue Creation Demo
runs-on: ubuntu-latest
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
id: create
uses: atlassian/gajira-create@master
with:
project: SYNERGY
issuetype: Task
summary: |
${{ github.event.issue.title }}
description: |
Opened by: ${{ github.event.issue.user.login }}
Link: ${{ github.event.issue.html_url }}
${{ github.event.issue.body }}
- name: Create comment
id: createComment
uses: jungwinter/comment@v1
with:
type: create
body: |
Jira Issue: [${{ steps.create.outputs.issue }}](https://symless.atlassian.net/browse/${{ steps.create.outputs.issue }})
issue_number: ${{ github.event.issue.number }}
token: ${{ secrets.GITHUB_TOKEN }}