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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fisheye rest api to get query data

Hello,

We are using fisheye rest api to get query data like below :

https://host:port/rest-service-fe/search-v1/queryAsRows/<Repo>?query=select revisions order by date desc limit 10

which was working fine for V3.9 but when we upgrade to 4.3 it stopped working..Any idea..? Is this API deprecated OR any alternate available ?

 

Thanks

CM

2 answers

1 vote
Vitalii Atlassian Team Mar 05, 2017

Hi Chandra,

Looks like this bug is introduced in 4.3.

https://jira.atlassian.com/browse/FE-6794

It fails when the query returns a date (which you may exclude to have query working but honestly I would suggest going another path).

In 4.3 we have added a Delta lines of code report (https://host:port/plugins/servlet/dloc-report/<repo>) which has an export functionality you may use to get the data you want in CSV format. Modifying the query you may get whatever you want.

https://host:port/search/&lt;repo&gt;?csv=true&amp;ql=select%20revisions%20order%20by%20date%20desc%20return%20date,%20author%20limit%2010

 

Thanks,
Vitalii

Hi @Vitalii Petrychuk

Is there any alternate Fisheye REST API available, where we can use EyeQL query and get results in any specific format(xml/json); without using Search console, for version 4.3

Thanks,
Gunjan

Vitalii Atlassian Team Mar 07, 2017

At the moment, unfortunately no. However once FE-6794 is fixed you may resume using /rest-service-fe/search-v1.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

51 views 0 8
Read article

Community Events

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

Events near you