Hi community!
I am trying to apply
project = AUDTUDO and issueFunction in aggregateExpression("Sum of original estimate", "originalEstimate.sum()")
but no success - as you can see in the attached image, I face the message
"Unable to find JQL function 'aggregateExpression(Sum of original estimate, originalEstimate.sum())'."
Before this message, I faced one about issueFuncyion. I have created an issueFunction customized field as text one and now I see the message above.
ScriptRunner 1.1.71-AC with Jira Cloud
Hi Elis,
Thank you for your question.
I can confirm that in JIRA Cloud you can only use the issueFunction() JQL function provided by ScriptRunner on the Enhanced Search page as described in the documentation here.
This is due to the way that Atlassian restrict how the JQL functions can interact with their infrastructure meaning we must run them in a sandbox process.
However I can confirm that the aggregateExpression JQL function is not available in ScriptRunner for Jira Cloud as described here, due to the fact that Atlassian do not provide the same API's as in the server version which are required to create this function.
If this answer has solved your issue can you please accept it in order to mark this answer as correct for users who are searching for a similar issue.
Regards,
Kristian
Thanks, @Kristian Walker _Adaptavist_ for your reply.
Taking advantage of your attention, do you suggest another plugin to replace aggregateExpression? I am looking for something that helps to sum all worked log for a given project on a given date range and send it by email weekly. If I am able to define a query, JIRA subscripts can solve the mail sending to me.
Thanks in advance, Elis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elis,
I do not another plugin that would provide this JQL function myself but would suggest searching the Atlassian marketplace to see if one exists.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Kristian Walker _Adaptavist_ ffwrd 5 years, is there any recommended path for clients migrating server to cloud who use aggregateExpression on the server? I know the feature parity doesn't have any recommendations. This has to be a pretty common use case in migrations / Does adaptavist have any recommendations? Thanks so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rob Little A workaround is to do the aggregate/sum calculations on a spreadsheet, which is understandably less than ideal.
Unfortunately it's not currently something that's being worked on, but from what I understand this particular function seems to be a significant blocker to migrating to cloud for you, is that right?
In the meantime, please feel free to follow and vote on the request here: https://scriptrunner-for-jira-cloud.nolt.io/43
If there are any updates, we will also update the Nolt link above!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey @GL thanks for the link!
It can be worked around probably, it just seems like the glaring odd man out with *nothing* recommended in the official feature parity docs from Adaptavist
Thanks / voted for the feature!
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.