GitHub action for linking JIRA issues as a comment.
name: Try GitHub Action
on:
pull_request:
types: [opened]
jobs:
link-jira-issue:
name: Link Jira Issue
runs-on: ubuntu-latest
steps:
- name: Link Jira Issue
uses: john-d-pelingo/jira-link-issue-action@v1
with:
atlassian-domain: 'https://johndpelingo.atlassian.net'
board-name: 'MEME'
github-token: ${{ secrets.GITHUB_TOKEN }}
Name | Type | Required? | Description |
---|---|---|---|
atlassian-domain |
string | yes | The domain of your Atlassian app |
board-name |
string | yes | The JIRA board name |
github-token |
string | yes | The GitHub token for API access |
- This action works with pull requests only as it requires the branch name to determine the issue ID.