Cannot find symbol DownloadableResource

Léo Pécault
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2020

Hello everyone !

I'm writing a Jira plugin where I need to dynamically transform a web resource before it's loaded by the client.

After some research, I found that the good way to do this would be to implement the interface WebResourceTransformerFactory (see https://developer.atlassian.com/server/framework/atlassian-sdk/stateless-web-resource-transforms-and-conditions/).

My problem is that Maven cannot find the interface DownloadableResource which is needed to implement the transform method of UrlReadingWebResourceTransformer. It seems to be deleted from the library.

My tries :

  • Let IntelliJ automatically search the missing dependency, but no artifact found.
  • Download the Maven dependency and add it to my project without success.
  • Implement WebResourceDataProvider instead, but I have the same issue with the class Jsonable.

Here a screenshot of my class :

Annotation 2020-06-30 100606.png

I'm new to Jira plugin developement so maybe I'm just missing something important.

Thanks in advance guys !

0 answers

Suggest an answer

Log in or Sign up to answer