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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.