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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

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

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 Community Leader Feb 03, 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

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