Page https://confluence.atlassian.com/jirakb/xml-format-for-import-export-files-695108230.html claims, there exists a $JIRA_INSTALL/ WEB-INF/classes/entitymodel.xml file with the information about the export format. However, I cannot find this file.
It seems that between jra V7.1.2 and V7.13.2 the export format changed. The HTML-description is not escaped any more in the XML, but embedded as plain (X)HTML.
Old Format
<!-- RSS generated by JIRA (7.1.2#71006-sha1:8e7e3091c211bab4b45730515b8b1591e99b0c1c) at Thu Nov 09 07:58:50 CET 2017
It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
https://devops-omnetric.ptdea.siemens.com:442/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+ATM+AND+issuetype+%3D+Test+AND+labels+%3D+TIN+ORDER+BY+reporter+DESC%2C+assignee+DESC&tempMax=1000&field=key&field=summary
-->
...
<description><p>"Unterstützte Standardprotokolle für die Nagios-Überwachung<br/>...
New Format
<!-- RSS generated by JIRA (7.13.2#713002-sha1:c794ca7f765e33db99fba702fc81ff5094795e24) at Thu May 23 14:56:59 CEST 2019 It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request. For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request. -->
<!-- If you wish to do custom client-side styling of RSS, uncomment this: <?xml-stylesheet href="https://devops-omnetric.ptdea.siemens.com:442/styles/jiraxml2html.xsl" type="text/xsl"?> -->
...
<description>
<p>Unterstützte Standardprotokolle für die Nagios-Überwachung<br/>...
Although still valid XML, it is now much harder to parse, because HTML and RSS/Jira-Namespaces are not separated.
Is there an authorative XML-schema, how JIRA exports its issues?
Thanks
Michael
Hello Techn Blade,
Is this the official authorative XML-schema?
I'm not sure, whether our customer would accept an informal forum post.
Is there a link on the atlassian support pages?
Best regards
Michael
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.