Can we restore comments restricted to a deleted project role?

Recently we've deleted a project role which has been previously used to restrict the visibility of many comments, therefore once the role was deleted those comments disappeared from JIRA.

We've re-created the project role with the same name and permissions as it had the one we deleted but the comments are not available anymore.

Is there anyway we can restore those comments? 

Thanks in advance for your help.

Regards

Camila

1 answer

This widget could not be displayed.

Hi Camila

The project role that you deleted would have had a database id which would be used to store the comment visibility.

Deleting the project role and recreating it, would have given it a new id.

In the database, you will have to identify the comments and update the old id with the new id of the project role.

The below query should give you all the comments for JIRA issues that belong to a project with id 10001

select * from jiraaction where actiontype='comment'
and issueid in (select id from jiraissue where project = 10001);

Thanks

Bhushan

Thanks Bhushan, we have JIRA OnDemand and therefore I can't access directly to the database.

Can we request support to get help with this?

Regards

Camila

Hi Camila,

You can try raising a support ticket for an answer related to data recovery for Cloud instances.

Thanks

Bhushan

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 7 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

13 views 0 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you