Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Restrict Attachment to Specific issue types

Parashar Joshi
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.
July 13, 2018

Hey Folks,

Is there a way we can actually restrict attachments using a validator or any existing Jira service so that we can attach files only to specific issue types?

Note that we are not looking at workflow validators as we want this to work on any attach action either from UI/browser or REST API.

Any pointers or suggestion would be great.

Thanks.

Parashar

1 answer

0 votes
Philipp Tauber July 13, 2018

Hey could you specify that a bit?

 

As I understand it you want the attachment field gone for specific issue types?

Why don't you edit the field configuration scheme and add that to the issue types where you don't want the attachment field?

Parashar Joshi
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.
July 13, 2018

Hi Philipp,

Thank you for the response and suggestion.

The change in field configuration will ensure we cannot add attachments from the UI/browser.

But this will not work with rest as i was able to attach the files to the issue from REST endpoint and there was no error.

Also we are exploring a common solution which would work with REST and UI irrespective of if the field is available or not.

Thanks,
Parashar

Suggest an answer

Log in or Sign up to answer