How to see which comments are visible only to a group

WW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

I'm trying to delete a local Jira group. When I try to do so, I get this message:

 

There are comments that only this group can see.

Deleting this group would make those comments invisible.

How can I see those comments that are visible only to that group?

If there is one comment, then I'm ok with deleting and moving visibility to another group.

If there are thousands of comments, then I need to know which ones they are and in which projects so that I can make a decision on what to do with the group.

I've got:

Jira v9.6.0 (DC)
JIRA Service Management Application v5.6.0
Adaptavist ScriptRunner for JIRA v7.9.0

1 answer

0 votes
Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

@WW 

Put yourself in the group and then do a JQL search like:

project = XXX AND issueFunction in commented("group group-name")

 

This should return all the issues in a project with a restricted comment to that group

WW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

How brilliantly simple :)

WW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

One note for anyone looking for this in the future, the syntax is:

issueFunction in commented("inGroup group-name")
WW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

Oh well, I thought that would work, but it really just shows me which issues have comments in them that I've made. I'm the only member of the group.

Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2023

yea the JQL will only gather the issues. You would need a to use an app to get comments to show up in search and even then it's probably pretty limited. I've seen people create fields that capture the last comment on an issue, but not sure how helpful that would be.

 

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-to-display-Last-comment-in-Filter-JQL-and-any-Add-on/ba-p/1489153

WW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2023

Yes, I'm thinking this may require some scripting.

Suggest an answer

Log in or Sign up to answer