Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.33 KB

gajira-get-issue

Finds a Jira Issue from string

Usage

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/[email protected]
  with:
    input-text: ${{ github.ref }}

Action Spec:

Environment variables

  • None

Inputs

  • input-text - Provide any string to extract issue from

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