Class WorklogClausesTransformerVisitor

java.lang.Object
com.atlassian.jira.jql.clause.WorklogClausesTransformerVisitor
All Implemented Interfaces:
ClauseVisitor<Clause>

@NonInjectableComponent public class WorklogClausesTransformerVisitor extends Object implements ClauseVisitor<Clause>
This visitor executes all worklog clauses and replaces them with a clause of the form "issuekey in (issue id-s of found worklogs)".

The purpose is to apply all worklog clauses to single worklog instead of executing them separately. We need this because one issue can have many worklogs and worklogs are stored as documents in a separate index.