I need to grant access to old core tickets, and need the comments on those tickets not to be visible to the new users.
I have set up issue security, and know that comments can be individually updated to a specific visibility using that, but with sometimes over 100 comments per ticket that's not viable.
I've tried the "Edit comment" automation action, which states that you can update a comment's visibility while preserving its content if you leave the text box blank, however the only options for doing this are to edit the first, last, or trigger comment, so that will only edit 1 at a time.
The final option is to edit the comment based on smart value, which I have tried but this results in either an error saving the rule or an error in the audit log saying "Error editing comment - smart-value did not resolve into a number." - this error was shown when using the smart value {{#issue.comments}}{{/}}
Is there a way of selecting all available comments on an issue, or is there another way to update all comments' security?
hhmm interesting question... It's a bit tricky but you can use an
I had a quick play and this seems to work! Good luck!
Thank you for this! I'm getting a separate error when running the automation, which I have run past Atlassian support directly. Once that is resolved I will try this approach and let you know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
With that error fixed this has worked perfectly, thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Great solution for this. Was looking for something like this and your solution fulfilled my requirement as well.
And thanks Catherine for the original question.
Thanks!
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.