Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Would like to Customize one velocity template in jira importer plugin

Rami I'm New Here Feb 05, 2021

Hi, 

I am building a custom importer, based on jira importer plugin.

I would like to customize the "finishedimport.vm" Velocity template from the Jira importer plugin. (add another button)

I copied it into my resource folder, but I don't know how to make the plugin take it from the plugin resource folder.

 

Please give me some hints.

1 answer

0 votes
Dario B Atlassian Team Feb 25, 2021

Hello @Rami ,

Welcome to the Atlassian Community!

If I understand correctly you are building a plugin for Jira Server following below documentation:

If this is correct then, even if I might not be the best person to reply, looking at older posts in here and in the Developers Community, it looks like you have to specify the location in the atlassian-plugin.xml file. Something like:

<resource name="NAME" type="velocity" location="/templates/whatever/path/FILE.vm"/>

 

I have never tried this myself so I am not sure. However, you can review below links for more details on how to implement this:

 

Other resources you might find useful (some of them might be outdated):

 

 

Finally, for the future, please notice that this is not the best place to get help on development  related questions. The right resources are listed in https://developer.atlassian.com/resources. 

Specifically:

 

I hope this helps.

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,184 views 8 28
Join discussion

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