GithubHelp home page GithubHelp logo

deity-io / jira-jql-query Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abshamrat/jira-jql-query

0.0 0.0 0.0 491 KB

search JIRA issue by JQL query and get JSON result

JavaScript 100.00%

jira-jql-query's Introduction

Jira JQL Query

Search JIRA issue by JQL

Only supports Jira Cloud. Does not support Jira Server (hosted)

Usage

Note: this action requires Jira Login Action

JQL Query

Example JQL action:

- name: JIRA JQL Query
  id: jira-jql-query
  uses: deity-io/jira-jql-query@main
  with:
    jql: issuekey=bb-1234
    fields: id,key,status

Here is full example workflow:

on:
  push

name: Test JQL Query

jobs:
  test-jira-jql-query:
    name: JIRA JQL Query
    runs-on: ubuntu-latest
    steps:
    - name: Login
      uses: deity-io/gajira-login@main
      env:
        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
        JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
        JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
        
    - name: JIRA JQL Query
      id: jira-jql-query
      uses: deity-io/jira-jql-query@main
      with:
        jql: issuekey=bb-1234
        fields: id,key,status

Action Spec:

Environment variables

  • None

Inputs

  • jql (required) - The JQL query wants to execute,
  • fields - Fields we want to retrive. e.g. id,key,status

Outputs

  • jqlResult - JSON data containing JQL result

Reads fields from config file at $HOME/jira/config.yml

  • jql
  • fields

Writes fields to config file at $HOME/jira/config.yml

  • None

jira-jql-query's People

Contributors

velin-deity avatar abshamrat avatar alpha0geek avatar

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.