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

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

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
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

283 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you