MultiValueOperand not found in the function registry. Returning an empty query

Kevin Dalton October 16, 2015
2015-10-16 16:04:24,481 http-bio-8080-exec-1892 ERROR TB029935 964x933780x8 rnrnbi 10.184.80.141,10.160.5.7 /rest/issueNav/1/issueTable [jira.groovy.jql.ScriptedFunctionClauseFactory] Something has gone wrong: MultiValueOperand not found in the function registry. Returning an empty query.
Project in (CURO, CUROSVC) AND ("Epic/Theme" = Immunizations OR issueFunction in linkedIssuesOfRecursive("Project in (CURO, CUROSVC) and 'Epic/Theme' = Immunizations") OR labels in (Immunizations) OR issueFunction in (subtasksOf("Project in (CURO, CUROSVC) and labels in (Immunizations)"))) ORDER BY Rank ASC

5 answers

1 accepted

2 votes
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2015
The query should not have parenthesis around the subtasksOf() function call, like so:
Project in (CURO, CUROSVC) AND ("Epic/Theme" = Immunizations OR issueFunction in linkedIssuesOfRecursive("Project in (CURO, CUROSVC) and 'Epic/Theme' = Immunizations") OR labels in (Immunizations) OR issueFunction in subtasksOf("Project in (CURO, CUROSVC) and labels in (Immunizations)")) ORDER BY Rank ASC
Kevin Dalton October 21, 2015

Thank you. Currently we have disabled that function since it was not on our approved list. I will keep an eye out for this error in the future to let them know to remove the parenthesis from subtasksof

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2015

This is true of any function, it was just a syntax error.

0 votes
Kevin Dalton October 21, 2015

JIRA 6.3.12 and ScriptRunner 3.1.3-dc

0 votes
Jon Bevan [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2015

@Kevin Dalton which version of JIRA and ScriptRunner are you using?

0 votes
Kevin Dalton October 16, 2015

Think it is related to this error as well

2015-10-16 16:03:53,147 http-bio-8080-exec-1961 ERROR TB029935 963x933457x7 rnrnbi 10.184.80.141,10.160.5.7 /rest/issueNav/1/issueTable [jira.groovy.jql.ScriptedFunctionClauseFactory] Something has gone wrong: linkedIssuesOfRecursive not found in the function registry. Returning an empty query.
0 votes
Kevin Dalton October 16, 2015

Function appears to work just throws an error.

Suggest an answer

Log in or Sign up to answer