question is about script in this article https://confluence.atlassian.com/clean/advanced-cleanup-1018789335.html
Can I use it on cloud as well? or is this only for server?
That's a server script.
The line:
import com.atlassian.jira.component.ComponentAccessor
Is the first giveaway. These are java classes for the java API which is not available in the cloud.
It looks like you're new here. Sign in or register to get started.