I added a web resource. Now I need to add this image from the web resource to the servlet page.
I found a very long url that consists of hashes and looks like this:
I need to get the path to my files in the code so that I can include them on the page, for example as an image.
How to do it?
Hi @Dmitrii
Batching of JS/CSS files is a mechanism used by Jira to (among other) decrease the amount of requests made from the browser to the backend server.
You won't be able to refer directly to a batch.js file as the full path would often change.
Refer to https://developer.atlassian.com/server/jira/platform/web-resource/ if you are developing a Plugin for Jira.
For the future, in case help will be needed on development related issues please contact the resources you find in https://developer.atlassian.com/server/jira/platform/get-help/.
Specifically:
Kind regards,
Thiago Masutti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.