We would like to add a warning about attaching sensitive files to our internal Jira instance. Can the attach file GUI be customized?
Hi David ,
By sensitive files do you mean files with specific extension ? Or do you want only a warning message to be displayed on the attach file GUI about sensitive files ?
If you want a only a warning message you can modify a jsp file atlassian-jira/secure/views/issue/attachfile.jsp in Jira 4.3 and add a warning message accordingly ..
You can add <b>your warning </b> after <page:param name="isMultipart">true</page:param> in the jsp
Remember to restart Jira for the changes to take effect and you will have to manually edit these changes if in future you upgrade your jira .
:)
Mizan,
Thanks for the quick answer! We are running Jira 4.4.3 do you think that the file to edit is still the same?
Thanks,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Most probably yes , because in my 4.4.4 i can see the file is almost the same. So you can give a try in your test environment first if it works you can make changes in your live Jira. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mizan Sayed [Atlassian]
I am running JIRA on my localhost system. But this is not working for me.
Please find below my Code Snippet :
<page:param name="isMultipart">true</page:param> <b>This is my customized warning message</b> <aui:component template="issueFormHeading.jsp" theme="'aui/dialog'"> <aui:param name="'title'"><ww:text name="'attachfile.title.multiple'"/></aui:param>
I have added the customized message waring part as mentioned above, still can't get it working.
Can you please help me.
Also if it is working for you, can you please share the screenshot with your customized message?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.