Hi,
i have a custom field which contains a numeric value reflecting the severity of a bug. Now I want to aggregate the severity of all open bugs. Script Runner offers the function aggregateExpression, but all related examples use system fields of JIRA (like e.g. Original Estimate). How can the function be applied on a custom field?
Thanks!
Often, you can just input the field's name, all lowercased and without spaces. For example, the Story Points field:
issueFunction in aggregateExpression("storypoints.max()")
You can also use the custom field's unique ID, like:
issueFunction in aggregateExpression("customfield_10113.average()")
The custom field must be a number, date, or duration custom field. Scripted fields that return those values are admissible as well, but they need to return the appropriate data type, as determined by their searcher.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.