Forums

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

How can I restrict users from uploading an attachment with a different file name ?

Nikita September 9, 2021

I want users to upload attachments with a specific name to a page or a space. Is there a way that confluence can alert the user when uploading file saying "file name should be XYZ only"?

1 answer

0 votes
Alexis Robert
Community Champion
September 9, 2021

Hi @Nikita ,

 

this might be possible with Scriptrunner for Confluence, as they have events for attachment creation : https://docs.adaptavist.com/sr4cc/current/features/script-listeners

 

 

Let me know if this helps, 

 

--Alexis

Nikita September 13, 2021

Thanks, Alexis for sharing this. I am just checking with my development team if we can write a script here to customize it according to what we need with the attachments.

I will let you know.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events