Hi all,
I am trying to find a way to programmatically export a JIRA workflow to an XML file. I have written an (external) script which transforms the XML into a visualizable form, but as of now it needs a manual action to log into JIRA and export a workflow to XML... Is there any programmatic way to get the XML?
Thanks in advance
Best regards
Dmitri
You can use
com.atlassian.jira.workflow.WorkflowUtil.convertDescriptorToXML(WorkflowDescriptor)
if you need to do the export from a plugin
or
call the following URL from a script:
/secure/admin/workflows/ViewWorkflowXml.jspa?workflowMode=live&workflowName=Simple+Issue+Tracking+Workflow
With Jira 8, trying to call this necessitates first to authenticate and then to webSudoAuthenticate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.