A workflow is a very complicated component in JIRA as it makes use of other components, such as custom fields and screens. JIRA is used to provide a way for you to export your workflows into XML, but due to the difference between systems, it is often very difficult to import workflows into another system.
Since JIRA 5, there is a new concept called workflow bundle, which makes it possible for people to share their workflows with others. With workflow bundles, it is much easier to export and import workflows from one JIRA to another. So, we will take a look at how to create a workflow bundle based on one of our own workflows.
For this recipe, we need to have the JIRA Workflow Sharing add-on installed. This add-on comes bundled with JIRA, but if you do not have it installed, you can download it from the following link or install it directly using the Universal Plugin Manager:
https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugins.jira-workflow-sharing-plugin
Perform the following steps to export an existing workflow as a workflow bundle:
Once the workflow bundle is created, you can import it into another JIRA instance using the following steps:
.jwb
) and click on Next.