Converts issue attachment xml in a JIRA backup to an object representation.
Returns the full path, on disk, to where the attachment file should be stored based on the provided inputs.
||represents the database row for an attachment from the backup.
||the backup project key, used to determine the path to the attachment file.
||the issue key that the attachment is associated with, used to determine the path to the attachment file.
- the full path, on disk, to where the attachment file should be stored based on the provided inputs.
Parses the file attachment data from the backup XML.
||is a map of key value pairs that represent the attributes of an ExternalAttachment. The following
attributes are required, otherwise a ParseException will be thrown:
An optional attribute is:
- id (required)
- issue (required)
- filename (required)
- created (required)
- an ExternalAttachment if the attributes contain the required fields
||if the required fields are not found in the attributes map