Need to know LOC per user for a particular time span

Based on

Is there an option to see the LOC for a particular date and for a particular time span?

It is ok if i get the result using a REST hit or even using a mysql DB query.
if there is no such option in crucible, let me know some hint so that i can automate it from backend. 

1 answer

0 vote

I hope you are using SVN otherwise you won't be able go get LoC statistic.
If you are using Git please start watching FE-3239.

So how you can get LoC information for your SVN repo.
There is a resource that generates charts, tweaking it a bit you can get LoC info for repo/branch/tag/path per day.

## Where required params are:
# "context" {string="main"}
# "outputtype" {string="json|image"}
# "repname" {string} repository name

## Optional:
# "author" {string}
# "br" {string} branch name
# "tag" {string} tag name
# "path" {string} path to the file

## Work with "outputtype=image":
# "endDate" {string} end date in ISO format
# "startDate" {string} start date in ISO format

It's not possible to get the day for some particular time span. However charts can be build using startDate and endDate (but it doesn't work for JSON output format type). But it is not a big problem to find a particular date in the array of results.

The response look like this:


Suggest an answer

Log in or Join to answer
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

374 views 0 9
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot