Since Atlassian support wasnt able to help on this tool that they provide saying it was out of scope, wanted to ask here if anybody has had success extending the Anonymizer tool?
We have a few custom fields that we need to mask off before sending in a Jira backup. This data is considered PHI.
Currently in the anonymizer there is a file named anon.stx.
<stx:transform xmlns:stx="http://stx.sourceforge.net/2002/ns" version="1.0" pass-through="none">
<stx:template match="Action/@body | MailServer/@username | */@password | */@description | Issue/@environment | Issue/@summary | NotificationInstance/@email | ChangeItem/@newstring | ChangeItem/@oldstring | FileAttachment/@filename | NotificationScheme/@name | PermissionScheme/@name | Resolution/@name | CustomFieldValue/@textvalue | Project/@url | Worklog/@body">
<stx:attribute name="
{local-name(.)}
"><stx:value-of select="replace(., '[\S]+?', 'x')"/></stx:attribute>
</stx:template>
<stx:template match="Action/body/text() | /description/text() | Issue/environment/text() | Issue/summary/text() | NotificationInstance/email/text() | ChangeItem/newstring/text() | ChangeItem/oldstring/text() | FileAttachment/filename/text() | NotificationScheme//text() | PermissionScheme//text() | Resolution//text() | CustomFieldValue/textvalue/text() | Worklog/body/text()">
<stx:value-of select="replace(., '[\S]+?', 'x')"/>
</stx:template>
<!-- Default rule - copy everything across -->
<stx:template match="node()|@*" priority="-1">
<stx:copy>
<stx:process-attributes />
<stx:process-children />
</stx:copy>
</stx:template>
</stx:transform>
Has anybody attempted to add additional fields into the anoymizer? If so how might I add those to the anonymizer list of fields.
thanks