Hi, i know this is a super simple question, but for XML Import for workflows: What can not be imported by XML Import?( (e.g. custom fields, post functions, conditions, workflow, screens, notifications scheme)
The workflow XML import can only import the workflow itself, so nothing else will be imported. For example, any referenced custom fields/screens/status etc. inside the workflow will not be imported. Additionally, any conditions/validators/postfunctions from plugins are also not imported.
Thanks for the reply. Really helps. May i just ask you another question, for the JWB import, i know screens and fields can get imported. However, conditions/validators/postfunctions dont seem to get imported. While some conditions do get imported. May i know what does not get imported via a JWB export?
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The conditions/validators/postfunction are indeed not imported, this is a known limitation, more details here: https://jira.atlassian.com/browse/JRASERVER-33311
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tzu Hau Chai,
Thanks for letting me now. I tried creating a JWB export via Jira Software Cloud and import it via Jira Software Server, indeed validators and post functions were not imported. However my conditions were successfully imported.
As mentioned that conditions/validators and postfunctions dont get imported, why in this case did all conditions get imported? Sorry for asking such simple questions.. I am new to Jira still. Appreciate your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Only some of the very generic conditions/validators can be imported, in this case it is a generic permission condition (reporter or assignee condition) which does not have references to any objects outside of the workflow.
If there is a condition/validator that references a specific custom field for example, it will not be imported. As far as I am aware anything from plugins will be excluded as well.
When you export/import the JWB workflow, you should be able to see a list of exactly what is being excluded, for example:
The items from the following plugins were removed from the workflow:
- JIRA Charting Plugin
- Service Desk Approvals Plugin
Transition: Resolve this issue
Plugin custom fields removed from this transition:
- Time in Status (JIRA Charting Plugin)
Transition: Pending
Plugin custom fields removed from this transition:
- Time in Status (JIRA Charting Plugin)
Transition: In progress
Plugin custom fields removed from this transition:
- Time in Status (JIRA Charting Plugin)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting similar error
the workflow has few scriptrunner and when trying to export and import, i get below error.
The items from the following plugins were removed from the workflow:
- Adaptavist ScriptRunner for JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.