Giter Site home page Giter Site logo

justin-jhg / jira-release-actions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stalemateinc/jira-release-action

4.0 1.0 3.0 2.57 MB

GitHub Action to create/archive/assign jira release

Home Page: https://justin-jhg.github.io/jira-release-actions/

License: MIT License

JavaScript 2.53% TypeScript 97.47%
github-actions achive-jira-release cicd

jira-release-actions's Introduction

build-test

Jira Release/Archive Action

This Github action connects your CI and your Jira instance by creating release(Fix Version) and assign Jira issues to the release as part of your CI process.

  • Create a JIRA release, release date supports timezone overwrite.
  • Assign JIRA Issues to release
  • Achive a JIRA release

Usage

Example workflow:

jobs:
  release-fix-version:
    name: Release Jira Fix Version
    runs-on: ubuntu-latest
    steps:
      uses: justin-jhg/jira-release-actions@v1
      with:
        jira_base_url: ${{ secrets.JIRA_BASE_URL }}
        jira_user_email: ${{ secrets.JIRA_USER_EMAIL }}
        jira_api_token: ${{ secrets.JIRA_API_TOKEN }}
        jira_project: CI
        release_name: v9.0.2
        tickets: CI-123,CI-456
        release: true
        archive: false
        time_zone: Australia/Melbourne

Action Spec:

Inputs

Name Description Required? Type
jira_base_url URL of Jira instance. Example: https://<yourdomain>.atlassian.net Yes String
jira_api_token Access Token for Authorization. Example: HXe8DGg1iJd2AopzyxkFB7F2 (How To) Yes String
jira_user_email email of the user for which Access Token was created for . Example: [email protected] Yes String
jira_project Key of the jira project Yes String
release_name Name of the release (Fix Version) Yes String
time_zone timezone for release date to be set, e.g. Australia/Melbourne, default is UTC time No String
release Mark Jira fix version as released. Defaults to false. No Boolean
archive Mark Jira fix version as archived. Defaults to false. No Boolean
tickets Comma-separated list of Jira Issue Keys to include in the release. Defaults to ''. No String

Reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.