Dependency of Scripted Function on JQL Tricks plugin

Saurabh Sudhir March 11, 2015

Scripted function like linkedIssuesOf, hasComments etc. is dependent on JQL Tricks plugin function "issuesWhereEpicIn()" as disabling the function renders the scripted function linkedIssuesOf, hasComments unable to use producing errors.

For example if we run a JQL Query "issueFunction in hasComments()", it works fine with JQL Tricks plugin function "issuesWhereEpicIn()" enabled. But disabling the function makes the above JQL query unable to use and it produces an error stating "Unable to find JQL function 'hascomments()'".

We have a business requirement where we have to disable the above JQL Tricks Plugin function. 

Please suggest any workaround for this.

 

2 answers

1 accepted

1 vote
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.
March 11, 2015

There is certainly not a dependency... I don't know why that happens. Perhaps because they share one commonly-named jql function. If after disabling JQL tricks, can you disable and enable script runner and see what happens?

0 votes
Saurabh Sudhir March 11, 2015

Thanks for your response. We have performed the steps and Scripted function works fine now. 

But each time when we disable the JQL Tricks plugin function "issuesWhereEpicIn()" we have to disable and enable script runner for the scripted functions to work.

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.
March 11, 2015

Yeah I know, this is to do with the way the jql functions are currently registered. The next release is going to fix this.

Gavad Khan (PS) March 12, 2015

@Jamie Echlin [Adaptavist] , Thanks for your update. Can you please share the link of this bug? We want to watch this issue & track in our backlog.

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.
March 13, 2015

Suggest an answer

Log in or Sign up to answer