Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there a way to delete some of the history from a Jira Service Management ticket (personal data)?

Background: We are planning to expand our Service Desk to include services that will have to occasionally capture address details of our staff.

We've agreed that this should only be temporary so that the information is only kept for as long as necessary, following GDPR.

Our first thought was to auto-delete the field upon ticket closure, however this information would remain in the ticket history. 

We also thought about using attachments to contain the address details, The history would still show that an attachment had been deleted but not include the contents of the attachment. However, this isn't particularly user-friendly. 

Are there any other ways this could be done, preferably avoiding a marketplace addon?

2 answers

1 accepted

@Joe Pakenham What you could do is isolate the 'stuff only certain users should see' in a sub-task of the main request, e.g. staff address details, and then use an Issue Security Scheme for the sub-tasks to restrict the viewing access to only certain users. All of the data which is needing to be secure could then only be referenced in the sub-tasks.

You would need to create a copy of the service request workflow and assign this workflow to sub-tasks in a workflow scheme, and then on this cloned workflow you can set a Security Level on the Create transition. In the security scheme, you can add any of these following values to the security level, and you could use a combination of these to only make the sub-task visible to particular users:

security scheme values.png

Issue History is designed for audit and traceability, and there is no way to delete this without cloning the task. So keeping the more secure data in a separate task (a sub-task in this case) could be a way of separating the 'common' and 'private' data.

Hope this helps!

This is very helpful, thank you Callum. I'll look into this with the team.

The cloning idea sounds quite useful too.

No worries! Let me know if you have any questions on it. If the solution works for you, feel free to hit the Accept Answer button, as this might be helpful for other users with the same question

Hi @Joe Pakenham ,

I did something similar in the past for a DE customer. I used scriptrunner and, through a postfunction I deleted all the issue history.

Using built-in feature I think that this operation is not possible. 

Hope this helps,


@Fabio Racobaldo _Herzum_  Can you please post the script here ?




Suggest an answer

Log in or Sign up to answer

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