Giter Club home page Giter Club logo

jira-version's Introduction

Datadog Metrics Reporter Action

CI Package Version

Get latest Jira version (released or unreleased) for a project.

Usage

This action gets the latest Jira version for a given Jira project. You can specify whether or not you want the latest unreleased version only.

e.g.

# ...

jobs:
  get-next-app-version:
    name: Get App Version Number
    runs-on: ubuntu-latest
    outputs:
      version-number: ${{ steps.get-version.outputs.name }}
    steps:
      - id: get-version
        uses: jimyang-9/[email protected]
        with:
          project: ABC
          subdomain: example
          email: ${{ secrets.JIRA_EMAIL }}
          api-token: ${{ secrets.JIRA_TOKEN }}
          unreleased: true

  do-something-with-version:
    name: Build App
    runs-un: ubuntu-latest
    needs: get-app-version
    steps:
      - uses: foo/build-app
        with:
          version-number: ${{ needs.get-next-app-version.version-number }}

Inputs

Name Description
project The Jira project id or key (see projectIdOrKey in the documentation)
subdomain The subdomain of your Jira instance (see site-url in the documentation)
email Email address associated with api-token (see basic authentication documentation for details)
api-token Api token associated with email address (see basic authentication documentation for details)
unreleased (optional) Determines whether or not to restrict the latest version to unreleased versions only

For more info: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-project-projectidorkey-version-get

jira-version's People

Contributors

jimyang-9 avatar

Stargazers

Sam Macpherson avatar Terrence Scoville avatar Uilton Oliveira avatar Martin Schlenker  avatar Drew Wyatt avatar

Watchers

James Cloos avatar  avatar

jira-version's Issues

get only unreleased verisons

go an issue where i only want the latest unreleased version but there's not option to limit the result to that

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.