In our jira projects, we've a some critical & confidential documents which we only want certain users to view but can't download. However download should be enabled for a few authorized ones.
how can we enable this restriction? Please guide.
Hello @Saad Ahmad ,
That's not possible out of the box in Jira to restrict attachment download for a user.
But you can try some Jira add-ons, like ScriptRunner or Jira Misc Workflow Extensions, that could provide more granular control over attachment downloads by scripting permission restrictions.
Install ScriptRunner Plugin (if not installed already): Ensure that the ScriptRunner plugin is installed in your Jira instance. You can find it under Manage apps in the Jira Administration.
Create a Custom Script Listener (to intercept the download action): ScriptRunner allows you to create listeners for various Jira events. While you can't directly control attachment downloads with an event listener, you can track actions and control permissions via workflows or custom scripts.
For restricting attachment download, the most straightforward approach is to block access to the attachment page when the user tries to download it. To do this, you could create a scripted condition or post-function on certain projects or issues.
Hi,
Currently this is not possible out of the box : [CLOUD-11020] How i can disable download attachment for user on Jira cloud - Create and track feature requests for Atlassian products.
However there is a feature request you can vote for here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.