I wanted to know the jql query and its related clauses
I was able to get the clause using
.getClauses() //from the where clause of query
Now I even want to know the logical operators((Like AND OR or AND NOT)) between the clauses..
How can I find out the logical operators between clauses.??
You need to walk the clause tree with a visitor - see com.atlassian.query.clause.ClauseVisitor. For the WHERE clause you should do something like this:
where visitor is an instance of your ClauseVisitor implementation.
Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events