Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Guide to Write Custom Client Soy Functions in Jira plugin ?

Sajan Kumar Devarakonda February 22, 2019

How to write javascript functions in soy template expressions?

How to register them in Jira plugin?

What are maven dependencies?

1 answer

0 votes
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2019

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!

Sajan Kumar Devarakonda February 22, 2019

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.

Like Steven Behnke likes this

Suggest an answer

Log in or Sign up to answer