JIRA

JIRA

Scheme: jira
Syntax: jira:type
Description: The jira component interacts with the JIRA issue tracker.
Deprecated:false
Maven: org.apache.camel/camel-jira/2.17.0.redhat-630283

The jira component interacts with the JIRA issue tracker. 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
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
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.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
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).