Skip to content

kherP/gajira-find-issue-key

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

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

To find an issue key inside github event (branch):

- name: Find in commit messages
  uses: kherP/[email protected]
  with:
    string: ${{ github.event.ref }}

Or do the same using shortcut from:

- name: Find in commit messages
  uses: kherP/[email protected]
  with:
    from: branch

To find an issue key inside commit messages:

- name: Find in commit messages
  uses: kherP/[email protected]
  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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Shell 0.9%