I am currently working on a requirement where I should programmatically import a Jira workflow Xml into another jira instance
I obtain the Jira workflow Xml by the workflow Xml Export function of Jira.
I have noticed that it is not possible to import an existing workflow. So I have come up with the following procedure
1. Deactivate the existing workflow programmatically
2. Delete the newly deactivated workflow programmatically
3. Import the workflow from the exported xml programmatically
4. Bind again with a project (workflow schemata and issue types schemata: this is not done automatically, it is by default deactivated after an import) programmatically
I can manage to do point 2 programmatically. I am working on point 3.
My current problem is about point 1
I searched in the communities without success. Any idea how I can do that?
To do point 1, you will need to write something that will
Once you've migrated all the issues and projects off the workflow you want to change, you'll find it becomes "deactivated"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.