Skip to end of banner
Go to start of banner

Export Workflows

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Next »

KIWI offers you the possibility to move complex workflows from a JIRA system to another just with the click of your mouse. 

In order to do a complete import, your first(and mandatory) step is to export a workflow.

This can be done from the Export page that is accessible from the main KIWI page, which can be found in the Administration view, Add-ons-> KIWI.

 

Here you will find a combo-box from which you can select the workflow you want to export.

Default Workflow

The workflow "The default JIRA workflow" can not be exported because this is a read only workflow.

As the description on the page informs, you are about to export a JIRA Workflow with all its dependencies (associated statuses, issue types, custom fields and screens).

You can add to your exported workflow a list of pre-import and post-import sil files that will be executed on the Import Jira instance, before(the pre-import files) or after(the post-import files) executing the main import. You definitely know about sil script files if you are using our Power Scripts for JIRA (former JJUPIN) plugin. SIL, or Simple Issue Language is very easy to learn yet powerful and extensible: it's a Java-like language independent of the JIRA version, offering power through simplicity and flexibility.

In order to add a pre-import file, press the 'Add Pre-Import File' button that will open a pop-up dialog where you can choose a sil file from the kiwi home folder("PATH_TO_JIRA_HOME/kepler/kiwi"):

Press the Add button from the pop-up, and you will see the chosen script file above the 'Add Pre-Import File' button. The script will be added to the exported kiwi file when pressing the Export button.

If there there is no sil script file in the Kiwi home folder(PATH_TO_JIRA_HOME/kepler/kiwi), the pop-up will show a 'No script file' error message:

Use the 'Add Post-Import file' button and the same procedure for adding a post-import sil file.

 

SIL scripts

NOTE: if you are using our Power Scripts for JIRA plugin and you have created SIL scripts (validators, conditions or post-functions) on the transitions of the exported workflow, these SIL scripts will be exported too.

Press the Export button.

If everything workes as planned, you'll see a SUCCESS  message on the screen. The exported file can be found in the KIWI home folder (this can be found at "PATH_TO_JIRA_HOME/kepler/kiwi"). Here you will find a new zip file named after your exported workflow(the name is a concatenation of the exported workflow name, the current date in the format yyyyMMddHHmm and .kwi) for instance, Workflowfortest_201310071619.kwi.zip is the file obtained by exporting the workflow Workflowfortest at local time 07.10.2013, 16:19.

 

After this operation you have a brand new KIWI file that you should copy to your JIRA system where you'll do the import. Now you've just left Sunda.

  • No labels