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

Fish Eye doesn't show the number for line of code when I use the rest api

Edited

I am trying to get the data for the total lines of code, lines added, lines removed from a repository in svn.

This what I do for the GET request using fisheye rest api

http://fecru.atlassian.com/rest/api/1.0/rest-service-fe/revisionData-v1/pathHistory/{repository}?path=<value>

According to the documentation in https://docs.atlassian.com/fisheye-crucible/3.10.3/wadl/fisheye.html#, it should return something like this

<fileRevisionList> <fileRevision totalLines="30" fileRevisionState="ADDED" rev="1" path="trunk/readme.txt" linesRemoved="0" linesAdded="30" date="2016-01-13T12:15:52.754+01:00" csid="MAIN:peter:2010000" contentLink="" author="peter"> <comment>added readme</comment>  </fileRevisionList>

but the numbers of total line, lines added, and lines removed always show zero on my end.

I tried to follow this https://confluence.atlassian.com/fisheye/cannot-view-lines-of-code-information-in-fisheye-298977102.html and https://confluence.atlassian.com/fishkb/calculate-lines-of-code-metric-for-svn-branches-290751257.html

but it still gives me zero for the lines of code.

Any help is appreciated. Thank you

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

183 views 0 5
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