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

Why does the same query produces different results from different interfaces?

Deleted user November 17, 2014

In Fisheye(3.5.3), when I try to search for commits without comments using EyeQL - the results on the browser is perfect, but when I try to implement the same thing through a java program, I get errors.

My Query is:  select revisions from dir / where comment = "" return count(distinct csid)

On the browser I see:

browser.png

 

When I print the URL and the InputStream in Java I get the following output:

java.png

<error> error parsing query: expecting &#034;revisions&#034;, found &#039;null&#039;</error>

 

Any idea why I get this error?

Is this a bug?

 

1 answer

0 votes
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 14, 2015

Try urlencoding the Eye QL query, i.e. use select%20revisions%20from%20dir%20/%20where%20comment%20=%20""%20return%20count(distinct%20csid) rather than select revisions from dir / where comment = "" return count(distinct csid)

Hope that helps,
Piotr 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events