Skip to main content
DevOps icon showing cogs

This post is from the XebiaLabs blog and has not been updated since the original publish date.

Last Updated Mar 26, 2015 — DevOps Expert

XL Release Template Import/Export Utilities


Recently we had a question from a user who wanted to be able to import and export all of his XL Release templates at the same time. Fortunately we were able to provide them with this small collection of scripts to do just that. The source code is on the XebiaLabs community Gists site. This project consists of three scripts as follows:

Let's see what each utility does. Before we import or export any templates from XL Release we need to get a list of Template IDs in the system. The script will export a list of templates and put them in a file templatesToExport.txt in the same takes several command line options, as follows:
  • --user: The XL Release user name. (default = admin)
  • --password: The XL Release users password (default = admin)
  • --hostname: The host that XL Release is running on (default = localhost)
  • --port: The port XL Release is listening on.  (default = 5516)
  • --protocol: The protocol XL Release is using (http/httops).  (defualt = http)
Once is run, all of the XL Release templates will be listed in the templatesToExport.txt file. At this point you can execute to export all of the templates from the XL Release server to an export directory under the current directory. The command line options for the script are the same as the script. With a group of templates exported from XL Release, they can now be imported into an XL Release instance using the the script. The script takes the same command line parameters as the script above. If you try to import a copy of an existing XL Release template, XL Release will create a "copy" of the template so even if you type to import a template of the same name you will not lose either one. The scripts can be found at xlr-template-import-export-util in the XebiaLabs community Gists site.Important: The code here is sample code only that is not officially supported by XebiaLabs. If you have questions, please contact our support team.

More from the Blog

View more
Ascension Launch Banner
Apr 26, 2022

Get ready for peak performance with’s newest AI-Powered DevOps Platform Ascension Release

Today, is excited to announce our latest AI-Powered DevOps ...
Read More
Jan 24, 2022 Value Stream Delivery for SAFe®: The key to amazing business outcomes

The Scaled Agile Framework (SAFe) is the world’s leading framework for ...
Read More
Dec 09, 2021

How SaaS and cloud-based solutions helped the U.S. Department of Veterans Affairs achieve digital transformation

Modernizing legacy systems was an ongoing goal for the U.S. Department ...
Read More
Nov 29, 2021

Increase velocity and reduce risk with AI and machine learning

Artificial Intelligence (AI) and machine learning (ML) have proven use ...
Read More
Contact Us