Jira Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Receive notifications about new issues from Jira.
Configuration Options
The following table summarizes the configuration options available for the jira-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Jira URL | Required The URL of your instance of Jira. | string | http://my_jira.com:8081 | ||
JQL | A query to filter issues. | string | project=MyProject | ||
Password | The password to access Jira. | string | |||
Personal Token | Personal Token. | string | |||
Username | The username to access Jira. | string |
Dependencies
At runtime, the jira-source
Kamelet relies upon the presence of the following dependencies:
-
camel:jackson
-
camel:jira
-
camel:kamelet
-
mvn:com.fasterxml.jackson.datatype:jackson-datatype-joda:2.12.5
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:jira-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml
Jira Source Kamelet Description
Authentication methods
This Kamelet uses basic authentication (username and password) to connect to JIRA. You need to provide:
-
Username and password for JIRA authentication
-
JIRA instance URL
Output format
The Kamelet receives notifications about new issues from JIRA and produces the issue data in JSON format.
Configuration
The Kamelet requires the following parameters:
-
jiraUrl
: The URL of your instance of JIRA -
username
: The username to access JIRA -
password
: The password to access JIRA -
jql
: The JQL query to filter issues
Usage example
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: jira-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: jira-source
properties:
jiraUrl: "http://my_jira.com:8081"
username: "{{username}}"
password: "{{password}}"
jql: "project = TEST"
sink:
ref:
kind: Service
apiVersion: v1
name: my-service