https://github.com/treasure-data/embulk-input-jira
Embulk Input Plugin for JIRA
https://github.com/treasure-data/embulk-input-jira
Last synced: about 1 year ago
JSON representation
Embulk Input Plugin for JIRA
- Host: GitHub
- URL: https://github.com/treasure-data/embulk-input-jira
- Owner: treasure-data
- License: apache-2.0
- Created: 2015-05-13T03:57:50.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T02:34:51.000Z (over 1 year ago)
- Last Synced: 2024-11-08T03:24:18.807Z (over 1 year ago)
- Language: Java
- Homepage: https://docs.treasuredata.com/articles/data-connector-jira
- Size: 450 KB
- Stars: 4
- Watchers: 89
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://travis-ci.org/treasure-data/embulk-input-jira)
[](https://codeclimate.com/github/treasure-data/embulk-input-jira)
[](https://codeclimate.com/github/treasure-data/embulk-input-jira/coverage)
[](https://badge.fury.io/rb/embulk-input-jira)
# Jira input plugin for Embulk
embulk-input-jira is the Embulk input plugin for [JIRA](https://www.atlassian.com/software/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](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/)**
- **username** JIRA username or email (string, required)
- **password** JIRA password or API keys (string, required)
- **uri** JIRA API endpoint (string, required)
- **jql** [JQL](https://confluence.atlassian.com/display/JIRA/Advanced+Searching) for extract target issues (string, required)
- **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)
## Example
```yaml
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
```