Hello, I'm having trouble running the following script in the scriptrunner console
“Issues.getByKey('CSSTST-95').comments.last().isPublic()”
Work with Jira Service Management (adaptavist.com)
In some documentation from Adaptavist it says that this should work, but it always gives me an error.
Has anyone faced a similar situation?
Hey :)
The docs you link to are for our HAPI scripting feature, this is only available in ScriptRunner 7.11.0 and above.
Based on your screenshot, it looks like you are not running that version.
HAPI makes scripting drastically simpler, when you can upgrade, I would recommend giving it a try.
Cheers!
Reece
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.