A GitHub Actions Reusable Workflow for automatically linking a Jira issue into a PR description.
Place a GitHub Actions Workflow file like .github/workflows/pr-jira-issue-linker.yaml
with content like below:
name: Jira Issue Linker
on:
pull_request:
types:
- opened
jobs:
jira-issue-linker:
uses: kauche/github-actions-jira-issue-linker-workflow/.github/workflows/jira-issue-linker.yaml@v0.0.2
with:
jira_domain: <YOUR_JIRA_DOMAIN>
jira_domain
- Your domain for Jira like
example-domain.atlassian.net
.
- Your domain for Jira like
After placing the Workflow file, create a branch with format like below:
<Jira Project Key>-<Jira Issue Number>-<Arbitrary String...>
Finally, create a PR with the branch and then this Workflow will add a link to the Jira Issue into the PR description.