Calculating sum of custom field of linked Issues.?

Tarun Sapra Community Champion Apr 04, 2013

Hi,

I have some custom fields in Epic and story issue types and in the EPICS i need to display the value of the custom field as the sum of custom fields of all associated stories.?

How to achieve such functionality.

The plugin https://marketplace.atlassian.com/plugins/com.innovalog.jmcf.jira-misc-custom-fields/version/45 seems to achieve this functionality but within the same issue type, but i need the sum from all associated issue types.

Thanks,

3 answers

1 accepted

Accepted Answer
0 votes

Renjith's answer requires some programming skills, and the skill of looking for similar answers involving the IssueLinkManager to find all linked issues, then summing whichever field.

You might want to also try the Structure plugin (expensive but may be worth it) which will do this and a lot more.

Use script runner and use a scripted field
Tarun Sapra Community Champion Apr 04, 2013

thanks! , can you please furnish more details!

Hi Tarun,

I have the same issue. I have numbers in my custom field 'sales' and need the amount of all sales in one field.

 

Do you have a solution for this problem?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

455 views 7 5
Join discussion

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