Forums

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

Restrict filter shares to groups and projects only

Jeany November 7, 2023

Dear Community,

 

I don't want our users to share their filters or boards with any logged in user. I found this KB article https://confluence.atlassian.com/jirakb/remove-the-everyone-share-option-from-filters-in-jira-server-301663662.html

Modifiyng the template would be my preferred option, but the information for this seems to be outdated ( This solution has been tested on JIRA 5.1 and on JIRA 6.3.)

Modifying the actions.xml does only prevent our users to share the filters with anonymous what is not sufficient.

The javascript code for the announcement banner is also not working. 

 

Do you have any ideas how to solve this?

 

Kind regards,

Jeany

 

1 answer

1 vote
Sanjen Bariki
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.
November 7, 2023

Hi @Jeany ,

 

Welcome to Atlassian community!

Did you get a chance to check the mentioned Atlassian ticket ..?

They have mentioned some solution the description, Kindly look into that and let me know.?

Is that helpful for you..?

 

Don't forgot to hit the answer button, If the solution help you.

Regards,

Sanjen Bariki

Jeany November 7, 2023

Hi Sanjen,

thanks for your quick response. The Atlassian ticket is not exactly matching my case. I don't want the filters to be shared neither with anonymous nor with any logged in user. But I found a hint in the workaround mentioned in the ticket. When I replace 'global' with 'loggedin' in the javascript snippet it works :)


AJS.$("#share_type_selector_viewers option[value='loggedin']").remove();
AJS.$("#share_type_selector option[value='loggedin']").remove();

I would have preferred to solve this in code rather than manipulate the surface with a script.

Kind regards,
Jeany

Sanjen Bariki
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.
November 10, 2023

Hi @Jeany ,

 

Thanks for your response.

It's too amazing , you got your answer and it's worked perfectly 😍.

It will help others and who are looking this solution they will find this document for the reference. So if you accept the answer then it will helps others.

 

Regards,

Sanjen Bariki

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.
TAGS
AUG Leaders

Atlassian Community Events