Skip to content

trocco-io/embulk-input-jira

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

472 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate Test Coverage Gem Version

Jira input plugin for Embulk

embulk-input-jira is the Embulk input plugin for JIRA.

Overview

Required Embulk version >= 0.10.19

  • Plugin type: input
  • Resume supported: no
  • Cleanup supported: no
  • Guess supported: yes

Configuration

Since JIRA is going to deprecate the basic authentication with passwords and cookie-based authentication to their APIs, we highly recommend you to use email and API key to authenticate to JIRA APIs. Deprecated notice

  • username JIRA username or email (string, required)
  • password JIRA password or API keys (string, required)
  • uri JIRA API endpoint (string, required)
  • jql JQL for extract target issues (string, required)
  • expand Use expand to include additional information about issues in the response (array, optional)
  • dynamic_schema Used it to refresh the schema each time ingestion (boolean, default: false)
  • columns target issue attributes. You can generate this configuration by guess command (array, required)
  • retry_initial_wait_sec: Wait seconds for exponential backoff initial value (integer, default: 1)
  • retry_limit: Try to retry this times (integer, default: 5)
  • max_results: The maximum number of items to return per page (integer, default: 50)
  • expand_json_on_guess The boolean value is to enable/disable json expanding when guess. (boolean, default: true)

Example

in:
  type: jira
  username: USERNAME
  password: PASSWORD
  uri: http://localhost:8090
  jql: project = PRO AND summary~Fix
  columns:
    - {name: id, type: long}
    - {name: key, type: string}
    - {name: project.name, type: string}
    - {name: summary, type: string}
    - {name: assignee.name, type: string}

Build

$ ./gradlew checkstyle test jacocoTestReport; ./gradlew gem;

Build and Test With Local File

$ rm -rf build; ./gradlew gem; embulk guess -L ./build/gemContents/ {path_to_yaml_file}

Publish

$ rm -rf build; ./gradlew gem; ./gradlew publishMavenPublicationToMavenCentralRepository

About

Embulk Input Plugin for JIRA

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Java 100.0%