Details
Background
Hi Michael,
I'm not really an expert on customizing .jar files of plugins. However I aware that changes can be made from versions to versions that can change the way the plugin behaves. So while editing the soy template might have worked on previous versions of Jira service desk, I too found that editing the servicedesk-3.11.1-REL-0014.jar soy/cv-signup-hint.soy that @Philip Banh mentioned in the other thread, does not appear to work in my Service desk 3.12.1 version either.
On a related topic there is an existing feature request that seeks to allow administrator to be able to edit/customize these kinds of login pages in Jira Service Desk. Please see https://jira.atlassian.com/browse/JSDSERVER-330 for details. While this does not provide a clear solution to editing an existing file in the .jar file, reading through the comments I have found there are a few other possible alternatives that I think can help you here.
I hope this helps, please let me know your thoughts.
Andy
Hello Andrew,
Thanks for the advice! I think I've been successful with using the Ultimate Theming add-on. As you mentioned, I used a similar javascript code to change the content on the login page. I don't know how well this workaround will work in future updates, but this is simple enough to replicate.
I suspect that the KB could also work. Although why changing the i18n file works but not the soy file is another mystery altogether. It's also interesting to point out that removing the template variables from the soy value will cause the template engine to raise an error because a defined variable in the i18n file is not used.
Despite the extra license cost, I will stick with using an add-on because the i18n file doesn't seem to be designed to write a large amount of HTML. The existing feature request seems quite old, so I think we've found the best alternative for now.
Thanks again for your help and for the quick response, Andy!
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Been trying to do this myself and here's what I've learned so far.
The soy files are compiled into js files so modifying jira-servicedesk-3.11.1-REL-0014.jar /soy/ won't help.
servicedesk-frontend-plugin-x.xx.xx-REL-xxx.jar is what you're probably after...try modifying he contents of the js files instead, rezip the jar, restart. It's not the best experience editing a minified js file with HTML scattered. Ultimately, you may need to download the JSM source, and do a build if you want to recompile from the soy files.
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.