Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to build a Query object to give to SearchProvider ?

BarthélémyH March 8, 2012

Hello,

This is a basic question, but I can't find the answer.

I want to know how many open issues there are in a certain project. I thought to use use SearchProvider.searchCount(...). This method takes a Query object. How do I create such an object ?

Thank you

Barth

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2012

Something like this:

final JqlQueryBuilder builder = JqlQueryBuilder.newBuilder();
builder.where().project("JRA").and().unresolved();
Query query = builder.buildQuery();

TAGS
AUG Leaders

Atlassian Community Events