Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The exported XML file is always ordered following the same rules. The goal is to facilitate a comparison of configuration files so they can be used for detecting changes to configurations in Jira.

Rules for ordering

  • When an XML element has children of different types, their relative order is defined by the schema in the projectConfig.xsd file. This file is included in the app jar file.

  • When an XML element has children with the same types, for example, <customField> elements under a <customFields> page, the children are ordered by the value in one or more sub-elements, as explained in the table below. If a child element does not have one of the sub-elements, it is ordered later than a child that does have a specific sub-element. When child elements are ordered by their own value, they appear in the Order By column as "own value."

...