Restrict Attachments by Issue Type

Kristin Lyons
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.
February 12, 2025

We are looking to restrict users from adding attachments to a specific issue type unless they are added to a custom user picker field.  One restriction we have is the issue type is on multiple projects and all other issue types should behave normally (anyone can add attachments).  I have seen one solution where we could add an attachment initially and then a ScriptRunner listener would verify if it was added by the specific user and if not it would delete the attachment, but that won't work for our use case. 

 

Are there any plugins or other options we could use?

1 answer

0 votes
Matt Doar _Adaptavist_
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.
February 12, 2025

What about a ScriptRunner behaviour or fragment to conditionally hide the Add Attachment functionality? I couldn't find example code though

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.17
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events