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

Markus Reineke August 18, 2016

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

0 votes
Anna Henke September 20, 2017

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

0 votes
Georges Moubarak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2016

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.

0 votes
Markus Reineke September 6, 2016

Is there anyone who can help me with my problem?

0 votes
Markus Reineke August 18, 2016

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

0 votes
vitaliy zapolskyy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2016

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.

Suggest an answer

Log in or Sign up to answer