Well how about creating a too that uses the REST api to fetch the attachments 
from the Adobe JIRA and to save them using their real names in directories 
matching the issue ID?

Something like this:

target-dir/
target-dir/FLEX-123
target-dir/FLEX-123/sample.mxml
target-dir/FLEX-123/as-sample.as
target-dir/FLEX-123/sometext.txt
target-dir/FLEX-425
target-dir/FLEX-425/data.dmp
...

Chris

________________________________________
Von: Alex Harui <aha...@adobe.com>
Gesendet: Montag, 24. März 2014 17:18
An: dev@flex.apache.org
Betreff: Re: AW: How to get the attachments of old Adobe JIRA / imported Apache 
JIRA?

Essentially, every attachment is missing.  When Infra did the import of
the Flex issues, they had the attachments, but assumed that they could add
the attachments after import (which worked in prior versions of JIRA) and
then found out that wasn't true in the current version.

There is about 7GB of attachments and Infra does not want us to use REST
or SOAP to re-insert the attachments because that's a lot of data and
because there is no way to recover if we get it wrong.  Flex JIRA issues
are in the same database as all of the other Apache projects and shutting
them down to recover the Flex JIRA is not desirable.

The plan is that someday, I (or someone) will find time to write a utility
that renames the attachments to their proper names (JIRA just stores them
as "1", "2", "3", etc, no suffixes or other hints as to the content, the
name is determined from an XML file), and then Apache will post those
files somewhere.

Given that in two years we've only been asked for less than 10
attachments, it is low on my list of priorities.

-Alex

On 3/24/14 3:16 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>When migrating the Flexmojos Issues from Sonatype to the new Atlassian
>Jira, I wrote a Manual Migration tool that also transfered attachments
>using the REST api
>If there is some stuff missing, we could code a similar tool to Transfer
>missing attachments.
>
>Chris
>________________________________________
>Von: Justin Mclean <jus...@classsoftware.com>
>Gesendet: Freitag, 21. März 2014 13:39
>An: dev@flex.apache.org
>Betreff: Re: How to get the attachments of old Adobe JIRA / imported
>Apache JIRA?
>
>Hi,
>
>Just post the issue number(s) and Alex should be able to find it for you.
>
>Justin
>
>On 21 Mar 2014, at 9:21 pm, Marcus Fritze <marcus.fri...@googlemail.com>
>wrote:
>
>> Hi list,
>>
>> unfortunately the attachments to the issues are still not accessible in
>>the JIRA.
>>
>> Is there a easy way to get attachments of some (3-5) issues?
>>
>> Thanks
>>
>> Marcus
>

Reply via email to