Hello.
I have a custom field which I use to add a little javascript code on the description, now I would like to add a bigger js code, so I thinked in include a file:
Description:
<script type="text/javascript" src="code.js"></script>
Could I do this?
In which directory must I copy "code.js", I'm using ubuntu server.
thanks
add javascript file as webresource in plugin,
webresource module:
<web-resource key="test-js" name="javascript"> <dependency>jira.webresources:global-static</dependency> <description>JavaScript</description> <resource name="test.js" type="download" location="templates/js/test.js" /> <context>atl.general</context> <context>atl.admin</context> </web-resource>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is it helped?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand you, you want that I create a new issue with the unique purpose of upload a attached script, after updates jira will maintain the uploaded files directory, so this scripts will continue working, is this ok?
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.