Skip to content

campspot/jira-link-issue-action

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • TypeScript 52.2%
  • JavaScript 47.8%