Dear all.
In our current Jira Data Center 9.12.15 with Script runner 8.36 we have a fully working script define as below :
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.IssueFieldConstants
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.issue.attachment.FileSystemAttachmentDirectoryAccessor
import com.opensymphony.workflow.InvalidInputException
def log_edr = log.getLogger("com.edr.workflow.postfunction.GA.setAttachementsRequired_OnlyForCH")
def attachmentDirectoryAccessor = ComponentAccessor.getComponent(FileSystemAttachmentDirectoryAccessor)
def temporaryAttachmentDirectory = attachmentDirectoryAccessor.getTemporaryAttachmentDirectory()
import com.atlassian.jira.issue.attachment.FileSystemAttachmentDirectoryAccessor
Does anyone of you meet teh same behaviour and share some idea how to solve it ?
Does this class FileSystemAttachementDirectoryAccessor has been mode to an other lib ?
Thanks for your help
regards
Atlassian has made significant changes in Jira DAta Center 10.x, you can check the changelog here.
It is likely that the class FileSystemAttachmentDirectoryAccessor has been removed as part of these changes. See this thread, it may help your issue.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!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.