This is https://jamieechlin.atlassian.net/browse/GRV-900, and will be fixed in the next release.
I have tried
I get the same error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you provide JIRA version and ScriptRunner version.
Are it compatible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA is 7.0.5 (Core) and ScriptRunner is 4.2.0.5. I have installed ScriptRunner from JIRA and was thus assuming that it is compatbile. I am able to use the JQL extended functionality OK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems to be a bug for JIRA 7. I would recommend to create a bug ticket for ScriptRunner plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adaptavist only allows for creating a bug in their tracker when you have a support contract. I do not, I have only purchased the plugin from the marketplace and the "support" -link pointed to this "answers"-section. Could you advise on how to go forward? Thanks.
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.
First of all you should return String value. In this case you return Double. Try
issue.id + ''
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.