Forums

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

Find issues with restricted permission comments

Mattias Kallvi
Contributor
May 8, 2019

I need to move some issues from one jira to another. Since I just want to move some issues I decided to export them as a CSV and then import them to the new Jira. This works fine except for the fact that comments with restricted permission now are visible to all users.

So, now I have two question. Is it possible to export/import issuse to/from CSV and keep the restriction on the comments (for example, only visible to Administrators). I guess the answer is "No". This leads me to my second question, is there some way of finding all issues that has at least one comment that is not viewable to all users?

Any help on this is most welcome.

1 answer

1 accepted

1 vote
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2019

Hello Mattias,

You are correct to say that It is not possible to migrate issues together with its comment restrictions, unfortunately.

In fact, we have a feature request opened to implement such functionality:

Visibility of comments from CSV import

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

About your second question, JIRA JQL does not have a way to return issues with comments restricted, however, Scriptrunner plugin provides you with the roleLevel Parameter, so you can return all the issues which has at least one restricted comment with the following query:

issueFunction in commented("roleLevel Developers")
 

Where "developers" is the role which the issue is restricted to.

Let me know if this information helps.

Mattias Kallvi
Contributor
May 8, 2019

That was exactly what I was looking for :-) Also woted for the suggestion you mentioned.

Thanks!
//Mattias

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

You are welcome, Mattias!

Have a nice day. :)

Suggest an answer

Log in or Sign up to answer