AttachmentDirectoryAccessor

Hi all,
Try to use this class com.atlassian.jira.issue.attachment.AttachmentDirectoryAccessor for getting attachment path for issue, but can’t find dependency for this class.
Added this dependency to the pom.xml, but it didn’t help.

<dependency>
     <groupId>com.atlassian.jira.plugins</groupId>
      <artifactId>jira-dnd-attachment-plugin</artifactId>
      <version>5.1.7</version>
      <scope>test</scope>
</dependency>

What dependency I should use for resolve problem with class import?

Interface AttachmentDirectoryAccessor exist on this package:

<dependency>
   <groupId>com.atlassian.jira</groupId>
   <artifactId>jira-core</artifactId>
   <version>${jira-version}</version>
   <scope>provided</scope>
</dependency>