Sum Values Fields from Isues

Zawistowski Grzegorz September 29, 2015

I want to create a Project on JIRA with Custom fields, which can sum all elements in single calculated fields - each one. How to resolve this:

 

------------------------------------------

NameSUM COLUMN
First Element3
Secound Element8
Total:11

How to create that Suming elements in JIRA ?

 

Only the namber is a number. But how write a Code ? Please help.

3 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2015

You'll need to write code for this.

Are these fields going to appear on each issue?  i.e. First Element and Second element are (number?) custom fields, and total then gets displayed on the issue view (and navigator and reports etc) when one or both of them have data?

Zawistowski Grzegorz October 2, 2015

Can I sum elements in workflows ? From 3-4 custom fields in one row ?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2015

You have not explained where you want these fields. Are they going to appear on each issue? Or somewhere else? (Yes, you can sum elements in workflows - you'll need some code to add it up and either post it into another field in a post-function, but it might be easier to use a scripted field)

Zawistowski Grzegorz October 2, 2015

All this fields I want to have in one Project called Licencion. This will be my first project on Jira. And first of all I must prepere total sum of all numeric fields and secound i must sum three numer fields in a row, and give back the answer in fourth field.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2015

Does that mean the fourth field IS going to be a field on *the issue*?

Zawistowski Grzegorz October 2, 2015

No :) fourth field it will be numeric field which have got result of sums from 3 another fields.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2015

So where is it supposed to go?

Zawistowski Grzegorz October 2, 2015

In this some row, numer field too in this some isue, but summing three more. Like Number1+Number2+Number3=Number4

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2015

For the FIFTH TIME, *where* do you want this result field to go? Stop repeating the requirement, tell us where it should display?

Zawistowski Grzegorz October 2, 2015

Hurray now I'm conect with BitBucket Thank You Very much :)

Zawistowski Grzegorz October 2, 2015

Only in the row in the same Issue.

Zawistowski Grzegorz October 2, 2015

I must done the sum all fields which i want In Issue and sum All numeric field in column.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2015

"Only in the row in the same issue" and the following comment still do not answer the question. (What "row"?) Unless you can tell us WHERE you want the field, I'm going to have to give up on you.

Like Oliver Henlich likes this
2 votes
Sumit Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2015

Calculated Number field can easily be used for such Job ... Plugin name JIRA Misc Custom Field [Cost Free]

https://marketplace.atlassian.com/plugins/com.innovalog.jmcf.jira-misc-custom-fields 

Zawistowski Grzegorz October 2, 2015

And How could i prepere two fields sum there ? Please help.

2 votes
Michael Kornatzki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 29, 2015

Suggest an answer

Log in or Sign up to answer