It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

961 views 7 0
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you