You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Jira Find issue key
v2.0.2
Extract issue key from string
For examples on how to use this, check out the gajira-demo repository
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@master
with:
string: ${{ github.event.ref }}
Or do the same using shortcut from
:
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@master
with:
from: branch
To find an issue key inside commit messages:
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@master
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