- JIRA 6.x Administration Cookbook
- Patrick Li
- 347字
- 2021-12-08 12:37:32
Anonymizing JIRA exports
Sometimes, in order to troubleshoot your JIRA instance, you need to provide a data dump for Atlassian or another service vendor so that they can recreate your environment to reproduce the problem locally. If you have sensitive information in your JIRA, this can be troublesome. In this recipe, we will look at how we can anonymize our data in JIRA.
Getting ready
For this recipe, we need to use the JIRA Anonymizer utility. You can download it from the following link:
To run the Anonymizer utility, make sure that the following prerequisites are met on the machine you are running the utility from:
- Make sure the
JAVA_HOME
environment variable is set properly - Running the
java -version
command will display the correct version of Java
How to do it…
Perform the following steps to anonymize your JIRA export:
- Unzip the
jira_anon.zip
file to a temporary directory. - Copy your JIRA XML export (
entities.xml
) to the temporary directory. - Open up a command prompt and go to the temporary directory where the
joost.jar
file resides. - Run the anonymizer application with the
java -Xmx512m -jar joost.jar entities.xml anon.stx > anon-entities.xml
command, whereentities.xml
is the name of the original XML export andanon-entities.xml
is the new anonymized XML file to be created.Note
JIRA's XML backup utility produces a ZIP file that contains two XML files; do not anonymize
activeobjects.xml
.
How it works…
The JIRA Anonymizer protects sensitive information in your JIRA by going through your JIRA XML export and replacing values from many fields in JIRA with a string of the character x. The list of fields that are to be anonymized include the following:
- Issue summary, environment, and description
- Comments, work logs, and change logs
- The project description
- Configuration scheme description such as the notification and permission schemes
- Attachment filenames
- Text custom field types
Depending on the size of the export, the utility may require additional memory for processing. The -Xmx
parameter indicates the amount of memory to allocate, so in the preceding steps, we allocated 512 MB of memory to run the utility.
- 中國國民經(jīng)濟核算體系修訂問題研究
- 審計全流程技術操作實務指南
- 國有企業(yè)經(jīng)濟責任審計實務指南
- Mastering System Center Configuration Manager
- 金融保險集團內(nèi)部審計創(chuàng)新與實踐
- Metabase Up and Running
- 非線性經(jīng)濟關系的建模
- 《企業(yè)內(nèi)部控制基本規(guī)范》合規(guī)實務指南
- 2017年度注冊會計師全國統(tǒng)一考試專用教材(圖解版):審計
- 項目管理實務(第二版)
- Big Data Analytics with R and Hadoop
- 內(nèi)審人員進階之道:內(nèi)部審計操作實務與案例解析
- 統(tǒng)計學視角下的金融高頻數(shù)據(jù)挖掘理論與方法研究
- Amazon EC2 Cookbook
- 審計實務