Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.02 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.02 KB

jira-link-issue-action

GitHub action for linking Jira issues as a comment.

Usage

on:
  pull_request:
    types: [opened]

jobs:
  link-jira-issue:
    name: Link Jira Issue
    runs-on: ubuntu-latest
    steps:
      - name: Link Jira Issue
        uses: campspot/[email protected]
        with:
          atlassian-domain: 'https://jira.atlassian.net'
          github-token: ${{ secrets.GITHUB_TOKEN }}

Inputs

Name Type Required? Description
atlassian-domain string yes The domain of your Atlassian app
github-token string yes The GitHub token for API access

Notes

  • This action works with pull requests only as it requires the branch name to determine the issue ID.

Setup + build

npm install

tsc src/index.ts

License

MIT