- All Implemented Interfaces:
- Runnable, org.apache.camel.Consumer, org.apache.camel.EndpointAware, org.apache.camel.PollingConsumerPollingStrategy, org.apache.camel.RouteAware, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.Suspendable, org.apache.camel.SuspendableService
public class NewCommentsConsumer
extends AbstractJiraConsumer
Consumes new comments on JIRA issues.
NOTE: In your JQL, try to optimize the query as much as possible! For example, the JIRA Toolkit Plugin includes a
// "Number of comments" custom field -- use '"Number of comments" > 0' in your query. Also try to minimize based on
// state (status=Open), increase the polling delay, etc. We have to do a separate query for *every single* resulting
ticket in order to load its comments! For large organizations, the JIRA API can be significantly slow.