Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.