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.
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.
That was exactly what I was looking for :-) Also woted for the suggestion you mentioned.
Thanks!
//Mattias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome, Mattias!
Have a nice day. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.