Hide or edit issue history

Rick Herrick February 26, 2014

We have an issue in our JIRA where a fairly large number of issues were created that had information about projects in our operational deployments. These deployments are covered by HIPAA privacy rules, which means we need to have any specific information in a project that's not publicly accessible.

Going forward this is easy: we have a project specific to our operational deployment that isn't publicly accessible. Any issues in our platform code that need to reference information about an operational deployment gets two issues: one describing the problem in a generic way in the publicly accessible project and one with the data particular to our operational deployment in the non-accessible project.

The problem we have is our existing issues for operational deployments in the publicly accessible repo. We can modify the publicly accessible issues to remove the sensitive data and create new non-accessible issues, so that we're just creating the same scheme we want to use for new issues. The problem is that all of the sensitive data remains in the publicly accessible issue through the history tab, rendering the whole exercise moot for existing issues.

Going forward, there are only two options I can see:

  • Make the issues in the publicly accessible repo with sensitive information inaccessible to users outside of our development group (this is probably not great, given that it relies on people not later on unhiding the issues)
  • Hide or modify issue history in our publicly accessible repo so that either any sensitive info can't be seen by people who don't have the appropriate permissions or that the sensitive info is actually just removed by having edited or removed the relevant chunks of issue history

Any help on this would be greatly appreciated. It's a critical issue for us in terms of getting our repository suitable for public access.

3 answers

1 accepted

1 vote
Answer accepted
EddieW
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.
February 28, 2014

Yes, you can. Its always risky to do this type of stuff, and youll wanrt to be sure you backup first.

You should be able to manipulater 3/4 tables in the DB related to change history.

https://developer.atlassian.com/display/JIRADEV/Change+History

Or (although I never tried this method) you could use a plugin or grovvy scripts to access the ChangeHistoryManager to purge _all history_

https://docs.atlassian.com/jira/4.4/com/atlassian/jira/issue/changehistory/ChangeHistoryManager.html#removeAllChangeItems(com.atlassian.jira.issue.Issue)

Make sure JIRA is shutdown, backed up, and reindexed immediately after the changes.

Rick Herrick March 6, 2014

I was really hoping for something more direct through the web interface, since it seems like this is a scenario that has a better than 0% chance of occurring :) Oh well, we're already going to be delving into the internals of Crowd and some other tools to disentangle ourselves from our department's AD server, might as well get our hands dirtier while we're at it. Thanks for the help!

0 votes
Zoryana Bohutska _SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 3, 2019

Hi 

App Issue History for Jira Cloud helps to get information about all changes that had been made with issues.

 

0 votes
Prashant Mali
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.
January 11, 2019

Is there any way to change the history of a single issue?

If Database is the way, what should be done and how much is the risk factor?

I also need to know if it can be done via scripting and also the risk factor.

Kindly help me out.

Suggest an answer

Log in or Sign up to answer