Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Excluding restricted comments from a Jira export to be provided to a client

Leroy Wissing
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2020

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?

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2020

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.

Suggest an answer

Log in or Sign up to answer