Extract issue key from string
Note: this action requires Jira Login Action
To find an issue key inside github event (branch):
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@v3
with:
string: ${{ github.event.ref }}
Or do the same using shortcut from
:
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@v3
with:
from: branch
To find an issue key inside commit messages:
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@v3
with:
from: commits
- None
string
- Provide a string to extract issue key fromfrom
- Find from predefined place (should be either 'branch', or 'commits')
issue
- Key of the found issue
- None
issue
- a key of a found issue
issue
- a key of a found issue