Skip to content

Creates a new Jira release in your GitHub Actions workflow

License

Notifications You must be signed in to change notification settings

zhsu/create-jira-release

 
 

Repository files navigation

create-jira-release (GitHub Action)

Release

Creates a new Jira release for a specific Jira project and assigns all relevant* Jira issue numbers to it.
* All Jira issue numbers (e.g. TEST-123) in commit messages since last Git tag.

Prerequisites

In order to be able to use this GitHub Action, a custom Jira automation rule needs to be created first. Please refer to the screenshot below for the most important settings.

Setup Jira automation rule

Usage

See action.yml

steps:
- uses: actions/checkout@v2

- uses: GeoWerkstatt/create-jira-release@v1
  with:
    jira-project-key: 'TEST'
    jira-automation-webhook: ${{ secrets.JIRA_AUTOMATION_WEBHOOK }}
    build-version: v${{ env.VERSION }}

Options

key description required
jira-project-key Jira project identifier (e.g. TEST) true
jira-automation-webhook Jira automation webhook url true
build-version Version identifier true

Secrets

key description required
secrets.JIRA_AUTOMATION_WEBHOOK Can be obtained or regenerated in the Incoming webhook automation step of the corresponding Jira automation rule. true

Publish new GitHub Action version

A new GitHub pre-release is created automatically if there are new changes on the main branch. Uncheck This is a pre-release in the Edit-Section for a specific pre-release in order to update a major tag (e.g. v1) to point to the latest release. A major tag from the latest released tag is created automatically if a corresponding major tag doesn't exist already.

License

The scripts and documentation in this project are released under the MIT License

About

Creates a new Jira release in your GitHub Actions workflow

Resources

License

Stars

Watchers

Forks

Packages

No packages published