How to write javascript functions in soy template expressions?
How to register them in Jira plugin?
What are maven dependencies?
Hi Sajan,
here is a tutorial on Soy Templates and Javascript: https://developers.google.com/closure/templates/docs/helloworld_js
Maven is a dependency management system that is typically used for Java projects.
I recommend this 'Maven in 5 minutes' tutorial: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
I will defer to the rest of the community for your third question about Jira Plugins.
I hope that helps!
Hi Martyn, thanks for the quick response. I've created soy templates in Jira plugin, but I'm unable to write custom functions where we can call them in soy expressions.
Ex: {formatDate($date)}
My question is how to register formatDate function in atlassian-plugin.xml. I need a step by step procedure to write such functions?
Thanks in advance.
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.