== Jira oauth Source Kamelet Description

=== Authentication methods

This Kamelet uses OAuth authentication to connect to JIRA. You need to provide:

- OAuth access token generated by the JIRA server
- OAuth verification code
- Consumer key for OAuth application
- Private key for OAuth 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
- `accessToken`: The access token generated by the JIRA server
- `verificationCode`: The verification code generated by the JIRA server
- `consumerKey`: The consumer key from JIRA settings
- `privateKey`: The private key generated by the user to encrypt the communication
- `jql`: The JQL query to filter issues

=== Usage example

```yaml
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
  name: jira-oauth-source-binding
spec:
  source:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1alpha1
      name: jira-oauth-source
    properties:
      jiraUrl: "http://my_jira.com:8081"
      accessToken: "{{access-token}}"
      verificationCode: "{{verification-code}}"
      consumerKey: "{{consumer-key}}"
      privateKey: "{{private-key}}"
      jql: "project = TEST"
  sink:
    ref:
      kind: Service
      apiVersion: v1
      name: my-service
```