To calculate total lines of code using JIRA query where each request has parameters for LOC+ & LOC-

Anas Badhusha February 3, 2020

My each issue request, has a field of lines of code (LOC+ and LOC-) which were added by analyser in each request once resolved. I used to do export the list of issues and then calculate the total LOC using excel sum(LOCplus + LOCminus). Is there any JIRA query to calculate the total sum LOC addition + Loc deletion and display the total count itself ?

 

2 answers

1 vote
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 19, 2020

If you store "LOC+" and "LOC-" in number type custom fields in Jira, then the Better Excel Exporter app will calculate the sums automatically in the last row if you export your issues to Excel.

See the "Story points" column in this Excel export, which is also the same type of custom field.

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2020

Not OOTB. Consider an addon or export your query to CSV and use excel.

Suggest an answer

Log in or Sign up to answer