I have a custom field that has a numerical value, 0.1, 0.5 1.0 etc,
Looking for way to track calculate the sum of this field by user using a JQL query.
e.g. if i have 4 issues assigned in a project with the values 0.1, 0.25, 0.5 and 0.5 it would return my user with value 1.35 plus similar respnces for all other people with assigned ticket where the value of the custom field isnt empty
You can do it by using Groovy Runner. I have another post (https://answers.atlassian.com/questions/310666/calculate-field-value) want something like you and I did it by using groovy runner.
p.s: This link is belong to my previous Atlassian ID and as I couldn't change my email address, I sing up for another one.
This can be achieved easily by creating a Calculated Number Field and simple formula
Formula will be something like:
Object cf1 = issue.get("customfield_10600");
Object cf2 = issue.get("customfield_10601");
Object cf8 = issue.get("customfield_10015");
int number = cf1 + cf2 + cf8;
Typically this is what reports and gadgets are for as Nic said.
However this was the use case for the aggregateExpression JQL function in Script Runner. If there are multiple different users in your filter you should get a data table with a value for the sum of the values by user. If you get the function params right...
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :). In the spirit of this month's august-challenge, we're sourcing stories of Jira Service Desk activation fro...
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!
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