How to export attachments AND all activities of all issues in one action?

Hello,

With my company I am one user of JIRA that one company provides for all IT services in version 6.

Because we are moving to another JIRA-Ticketing System with the version JIRA V1000.253.3 (https://xxx.atlassian.net) we want to export all customer data to be able to keep it for the auditor. We need all attachments and all activities which show for example WHEN a certain lable was set. But the regular export includes no attachments and especially no historical labels and timestamps that were set in the past. The export only includes the final state of every issue.

 

If I want to export all activities, I need to open every ticket and click on "all activities" at the bottom of an issue. Then I need to copy-n-paste the text.

 

Is there any other way to export all data? Maybe using a webservice from my local business computer?

 

I found a way to use wget to download the attachments but still I found no way to export all activites. Please help me out!

 

Best regards

Markus

5 answers

Hi Markus

nice to hear you explored wget power already. could you please share your wget version and command line? 

you may need to do just a little tweak.

As a reply to your answer from 18th of August 2016, 7:19 PM

Hi @vitaliy zapolskyy,

I used the GUI to export all issues in one xml file and extracted all attachment elements:
<attachment id="55121" name="filename.doc" size="2453" author="....." created="Fr, 20 June 2016 10:50:18 +0200"/>
The relevant information was the "id" and the "name".

Then I used wget to login and save the credentials into one cookies:
wget \--save-cookies cookies.txt \--post-data 'os_username=name@jiradomain.de&os_password=********&os_cookie=true' 'https://jira.domain.com'

For each file I could use the following download command
wget \--load-cookies cookies.txt \-p 'https://jira.domain.com/...../attachment/55121/filename.doc'
//55121 and filename.doc are extracted from the xml ("id", "name")

So could you please tell me, how to edit this command in order to extract alle activities from each issue?

Best regards
Markus

Is there anyone who can help me with my problem?

Hello Markus,

Give JAM(https://marketplace.atlassian.com/plugins/com.infosysta.jira.JAM/server/overview) a try. It can export and then import all your attachments to a second instance.

Markus, have you found a solution to your problem yet, especially exporting all activities of an issue?

I have found the following plugin to do the job: https://marketplace.atlassian.com/plugins/com.curvc.atlas.jira.plugin.issuehistory/server/overview

 

Anna

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,146 views 6 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot