Hi,
Is it possible to search for an issue based on the issue key? I want to add issue key to the where clause, instead of the status in the query below. I can use the issueKey in the orderBy clause but not in the where clause.
builder.where().status("Resolved");
builder.orderBy().issueKey(order);
When used in the where clause as shown below an error is displayed saying ''Constructor call must be the first statement in a constructor".
builder.where().issueKey().("1234");
Am I doing something wrong or is it not possible to add an issue key to the following statement?
Any help would be appreciated.
Thanks
Community moderators have prevented the ability to post new answers.
Does this not work?
final JqlQueryBuilder builder = JqlQueryBuilder.newBuilder();
builder.where().issue().eq("ABC-123");
Query query = builder.buildQuery();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.