Finds a Jira Issue from string
To easily find Jira issue from commits or branch, I recommend Jira Find issue key, the official Jira's release action. What's different with this action, if you still need to find an issue when a PR is opened or even when the PR is merged, this action will receive any string and try to find it there and if it's not found, then it will go to the github object and try to find it from messages created by github.
Note: this action is compatible with the official Jira actions Jira Login Action
To find an issue key inside commit messages:
- name: Find in commit messages
uses: cybervoid/gajira-get-issue@v1.0
with:
input-text: ${{ github.ref }}
- None
input-text
- Provide any string to extract issue from
issue
- Key of the found issue
- None
issue
- a key of a found issue
issue
- a key of a found issue