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()
In our staging instance we have upgrade our JIRA DC to version 10.4.3 for security issue with script runner 9.9 version
After this change we notice that our same script above is not working anymore and the reason is that we have the class below which cannot be resolved as it should:
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