A client has requested that we provide them with an export of a number of projects from our Jira instance. We have cloned our instance, and removed all projects from the clone except for the ones to be exported. However, these projects contain a number of issues where some comments are restricted to the Developer role.
Is there a way to search for all tickets which have restricted comments, or otherwise exclude restricted visibility comments from a Jira export?
Hello @Leroy Wissing
Thank you for reaching out.
Unfortunately, it's not possible to identify issues that have comments with restricted visibility in JQL filters, however, we understand how useful this functionality would be. That being said, we created the following feature request to implement it:
- Export search results with considering visibility
Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.
As a workaround, you can:
1 - Fetch issue data by using JIRA Server REST API, considering the "visibility" column. For example, to exclude internal comments, "visibility" property is available in JIRA Server REST API Reference > api/2/issue > Get comments.
"visibility": {
"type": "role",
"value": "Administrators"
}
2 - Select the issues from the database, using the jiraaction table.
Let us know if you have any questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.