Home FishEye is not showing number for total lines of code when I use the rest api
Reply: 0

FishEye is not showing number for total lines of code when I use the rest api

Yansen Tjandra N
Yansen Tjandra N Published in 2018-01-12 20:34:22Z

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

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


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

<fileRevision totalLines="30" fileRevisionState="ADDED" rev="1" path="trunk/readme.txt" linesRemoved="0" linesAdded="30" date="2017-11-27T14:12:31.329Z" csid="MAIN:peter:2010000" contentLink="" author="peter">
    <comment>added readme</comment>

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 very much

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.342393 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO