I have to create a script runner custom field and populate the value from the from below query
Please let me know how to achieve this
issueFunction in aggregateExpression("Total Estimate for all Issues", "originalEstimate.sum()",
"Remaining work", "remainingEstimate.sum()") and Sprint in openSprints()
Hello Jenna,
I have to create custom field to populate the result of below query
project=AAAA and issueFunction in aggregateExpression("remainingEstimate.sum()") and Sprint in openSprints()
Let me know the steps.Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, aggregateExpression won't work in the way you're looking for. You'll have to run the JQL search in your scripted field, then do the math on your query result in your code.
You also need to be aware of the limitations that come with running jql searches in scripted fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.