Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

XML format for import & export files

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&amp;tempMax=1000&amp;field=key&amp;field=summary
-->

...
<description>&lt;p&gt;&quot;Unterst&#252;tzte Standardprotokolle f&#252;r die Nagios-&#220;berwachung&lt;br/&gt;...

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,624 views 22 33
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you