Skip to content

WCAG: User cannot scroll page with down and up arrows #165

WCAG: User cannot scroll page with down and up arrows

WCAG: User cannot scroll page with down and up arrows #165

name: Post opened issue to Jira
on:
issues:
types:
- opened
jobs:
issue_opened:
runs-on: ubuntu-latest
steps:
- name: Create issue body file
run: echo "${{ github.event.issue.body }}" > ${{ runner.temp }}/_github_workflow/issue.md
- name: Convert GitHub markdown to Jira markup
uses: docker://pandoc/core:3.5
with:
args: --from gfm --to jira --output=/github/workflow/issue.jira /github/workflow/issue.md
- name: Put output to the variable
run: |
echo 'JIRA_CONTENT<<EOF' >> $GITHUB_ENV
cat ${{ runner.temp }}/_github_workflow/issue.jira >> $GITHUB_ENV
echo >> $GITHUB_ENV
echo "----" >> $GITHUB_ENV
echo "GitHub issue: ${{ github.event.issue.html_url }}" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Create issue
id: create
uses: atlassian/gajira-create@v3
with:
project: ${{ vars.JIRA_PROJECT_KEY }}
issuetype: Story
summary: "UI Kit (GitHub): ${{ github.event.issue.title }}"
description: ${{ env.JIRA_CONTENT }}
fields: '{"components": [{"name": "UIKit"}]}'