Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atlassian/gajira-find-issue-key
https://github.com/atlassian/gajira-find-issue-key
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/atlassian/gajira-find-issue-key
- Owner: atlassian
- License: other
- Created: 2019-02-26T15:25:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T15:00:42.000Z (9 months ago)
- Last Synced: 2024-04-14T12:07:27.195Z (5 months ago)
- Language: JavaScript
- Size: 312 KB
- Stars: 43
- Watchers: 32
- Forks: 93
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
---------
⚠️ This repository isn’t maintained anymore.
---------# Jira Find Issue Key
Extract issue key from string> ##### Only supports Jira Cloud. Does not support Jira Server (hosted)
## Usage
> ##### Note: this action requires [Jira Login Action](https://github.com/marketplace/actions/jira-login)
To find an issue key inside github event (branch):
```yaml
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@v3
with:
string: ${{ github.event.ref }}
```Or do the same using shortcut `from`:
```yaml
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@v3
with:
from: branch
```To find an issue key inside commit messages:
```yaml
- name: Find in commit messages
uses: atlassian/gajira-find-issue-key@v3
with:
from: commits
```----
## Action Spec:### Environment variables
- None### Inputs
- `string` - Provide a string to extract issue key from
- `from` - Find from predefined place (should be either 'branch', or 'commits')### Outputs
- `issue` - Key of the found issue### Reads fields from config file at $HOME/jira/config.yml
- None### Writes fields to config file at $HOME/jira/config.yml
- `issue` - a key of a found issue### Writes fields to CLI config file at $HOME/.jira.d/config.yml
- `issue` - a key of a found issue