The endpoint encapsulates portions of the JIRA API, relying on the jira-rest-java-client SDK. Available endpoint URIs include: CONSUMERS jira://newIssue (new tickets) jira://newComment (new comments on tickets) The endpoints will respond with jira-rest-java-client POJOs (Issue, Comment, etc.) Note: Rather than webhooks, this endpoint relies on simple polling. Reasons include: - concerned about reliability/stability if this somehow relied on an exposed, embedded server (Jetty?) - the types of payloads we're polling aren't typically large (plus, paging is available in the API) - need to support apps running somewhere not publicly accessible where a webhook would fail
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
type | path | common | true | org.apache.camel.component.jira.JIRAType | NEWISSUE NEWCOMMENT |
Operation to perform such as create a new issue or a new comment | |
password | parameter | common | java.lang.String | Password for login | |||
serverUrl | parameter | common | true | java.lang.String | URL to the JIRA server | ||
username | parameter | common | java.lang.String | Username for login | |||
delay | parameter | consumer | 6000 | int | Delay in seconds when querying JIRA using the consumer. | ||
jql | parameter | consumer | java.lang.String | JQL is the query language from JIRA which allows you to retrieve the data you want. For example jql=project=MyProject Where MyProject is the product key in Jira. | |||
exchangePattern | parameter | advanced | InOnly | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |