Hello ,
To able to hide the "Attachments" section from Jira-user based on their group.
Example: "company-users" group can view attachments section while " external - users" group cannot.
How can I do this case ? or which way ?
Thanks in advance.
Community moderators have prevented the ability to post new answers.
Hi Coskun
thanks for the response
I will have a look at trying to hide/remove the attachment details. Is this only for when a JIRA Issue is closed? I don't have a migration facility at the moment but I could look at writing one.
Attachments can be turned off by a JIRA System Admistrator or JIRA Administrator with Global Permissions. Navigation to Admin System page, click on Attachments under the Advanced heading. This will open the attachments page. Click edit settings and disable Attachments and turn off thumbnails and zip support. Attachments can still be seen but not added.
For future responses can you please send an email to paul.k.clark@gmail.com.
Thanks
Paul
Hi Paul, firstly thank you for your interest.
I installed and configured the "Document Vault for Jira" with eval. license in myjira.I configured to Doc.Vault Section according to group visibility.It is OK.In addition,I have a critical question.I understand that, there will be two sections (Attachments(Jira) & Document Vault ) in a issue page .Well, After I start using the add-on, how can I hide the old attachments according to group users. Namely,is migration processing possible from jira attachment to Doc Vault ?
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Coskun, I know this post is really old but in case you are still looking I have a plugin that I think should be able to do this. It's called Document Vault (https://marketplace.atlassian.com/plugins/com.redmoon.jira.documentvault) and is an independent attachments system within JIRA.
Access can be confined to a group of users and/or Issue reporter and/or assignee. Unauthorised users are not able to view the attachments and the attachments related comment. There is also a project level search page to view attachments (that you are authorised to see) within the project. I am also open to suggestions if there is particular functionality you want added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
I've come to the final stage actually with java-script in Jira 6.1.5
What did I do ?
I wrote some java script in Announcement Banner.
<script type="text/javascript">
AJS.$(document).ready(function() {
var userName = AJS.$(document).find("#header-details-user-fullname").attr("data-username");
if((userName == "XXX" ))
{
var node1 =document.getElementById('attachmentmodule');
var node2 =document.getElementById('attachmentmodule_heading');
var node3 = document.getElementById('attachmentmodule').getElementsByClassName('mod-content')[0];
node.style.visibility = 'visible';
node1.removeChild(node2);
node1.removeChild(node3);
}
});
</script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currently, you can only set the Create Attachments project permission in that issue's project to the particular group.
However you are referring specifically to only View Attachments permission, this feature is not being available yet.
There is already a feature request being raised in here which is regarding on Separate View & Create Permissions For Attachments:
Please feel free to vote to increase its popularity and also add youself as watcher to receive any latest feedbacks and updates from the user/developer regarding on this feature request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.