Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to include an inner Velocity Template within a Velocity Template

I would like to reuse a template inside multiple other template and I looked in Apache Velocity Template and I found what I am looking for


## Load the file one.vm into this template
#include( "one.vm" )

However when I tried it in Jira it didn't work. Most probable because of the path

So I tried to change the path to the vm by trying all of the below



 but I keep getting an exception. Does anyone know how to achieve this in Jira?



Exception getting message body from Velocity: org.apache.velocity.exception.VelocityException: Cannot process content resource
[INFO] [talledLocalContainer] org.apache.velocity.exception.VelocityException: Cannot process content resource
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.resource.ContentResource.process(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.RuntimeInstance.getContent(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.directive.Include.renderOutput(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.directive.Include.render(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.parser.node.ASTDirective.render(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.parser.node.ASTBlock.render(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
[INFO] [talledLocalContainer] at org.apache.velocity.runtime.parser.node.SimpleNode.render(
[INFO] [talledLocalContainer] at org.apache.velocity.Template.merge(
[INFO] [talledLocalContainer] at org.apache.velocity.Template.merge(
[INFO] [talledLocalContainer] at


1 answer

1 accepted

2 votes
Answer accepted


Have you tried?



Like # people like this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

42 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you