이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 35. Jira Add Issue Sink
Add a new issue to Jira.
The Kamelet expects the following headers to be set:
-
projectKey/ce-projectKey: as the Jira project key. -
issueTypeName/ce-issueTypeName: as the name of the issue type (example: Bug, Enhancement). -
issueSummary/ce-issueSummary: as the title or summary of the issue. -
issueAssignee/ce-issueAssignee: as the user assigned to the issue (Optional). -
issuePriorityName/ce-issuePriorityName: as the priority name of the issue (example: Critical, Blocker, Trivial) (Optional). -
issueComponents/ce-issueComponents: as list of string with the valid component names (Optional). -
issueDescription/ce-issueDescription: as the issue description (Optional).
The issue description can be set from the body of the message or the issueDescription/ce-issueDescription in the header, however the body takes precedence.
To authenticate, a username/password or personal token must be defined. We recommend to use personal token as it is a safer way to get access to Jira.
35.1. Configuration Options 링크 복사링크가 클립보드에 복사되었습니다!
The following table summarizes the configuration options available for the jira-add-issue-sink Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| jiraUrl * | Jira URL | The URL of your instance of Jira | string | ||
| password | Password | The password to access Jira | string | ||
| personal-token | Personal Token | Personal Token | string | ||
| username | Username | The username to access Jira | string |
* = Fields marked with an asterisk are mandatory.
35.2. Dependencies 링크 복사링크가 클립보드에 복사되었습니다!
35.2.1. Quarkus dependencies 링크 복사링크가 클립보드에 복사되었습니다!
35.3. Usage 링크 복사링크가 클립보드에 복사되었습니다!
35.3.1. Camel JBang usage 링크 복사링크가 클립보드에 복사되었습니다!
35.3.1.1. Prerequisites for JBang 링크 복사링크가 클립보드에 복사되었습니다!
- Install JBang.
You have executed the following command:
jbang app install camel@apache/camel
jbang app install camel@apache/camelCopy to Clipboard Copied! Toggle word wrap Toggle overflow
35.3.1.2. Running a route with JBang 링크 복사링크가 클립보드에 복사되었습니다!
Suppose you have a file named route.yaml with this content:
You can now run it directly through the following command.
camel run route.yaml
camel run route.yaml
35.3.2. Knative Sink 링크 복사링크가 클립보드에 복사되었습니다!
You can use the jira-add-issue-sink Kamelet as a Knative sink by binding it to a Knative object.
jira-add-issue-sink-binding.yaml
35.3.3. Kafka Sink 링크 복사링크가 클립보드에 복사되었습니다!
You can use the jira-add-issue-sink Kamelet as a Kafka sink by binding it to a Kafka topic.
jira-add-issue-sink-binding.yaml