Skip to content

echizent4/jira-release-actions

 
 

Repository files navigation

Jira Release Action

jira-release-action status

This Github action connects your CI and your Jira instance by creating releases as part of your CI process.

The action can either mark an existing release as released or directly create a new one base on a tag name. The action can also automatically update the 'Fix Version' field of a list of Jira issues.

Usage

Input

Name Description Required
email Jira login Y
api_token Jira api token Y
subdomain Jira cloud instance. '[domain].atlassian.net' Y
jira_project Key of the jira project Y
release_name Name of the release Y
create Boolean. Create automatically a jira release N (default: false )
tickets Comma separated list of ticket IDs to include in the release. Update the first release-version. N (default: '')
dry_run Dump actions that would be taken N (default: false)

Example

jobs:
 get-next-app-version:
    name: Get App Version Number
    runs-on: ubuntu-latest
    outputs:
      version-id: ${{ steps.get-version.outputs.id }}
    steps:
      ...gets the latest version

  release-next-app-version:
    name: Release Jira Version
    runs-on: ubuntu-latest
    steps:
      uses: charpi/jira-release-action@latest
      with:
        email: ${{ secrets.JIRA_EMAIL }}
        api-token: ${{ secrets.JIRA_TOKEN }}
        subdomain: example
        release_name: ${{ needs.get-next-app-version.outputs.version-id}}

Reference

About

GitHub action to create / update JIRA releases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.8%
  • JavaScript 3.2%