We have made some code customizations for Apache's JIRA installation, the main one being that users must specify whether they grant Apache the copyright to an attachment (eg. for code patches):

Download
The patch for JIRA 3.2 and plugin can be downloaded from:
http://opensource.atlassian.com/jira-asf-plugin
Implementation
The JIRA 3.2 API has been modified to support arbitrary propertiess on attachments. The attachment copyright support was implemented as a Component Plugin, overriding the AttachFile action. Here is the atlassian-jira.xml plugin descriptor's module definition:
<webwork1 key="copyrightedAttachments" name="Copyrighted Attachment support" class="java.lang.Object"> <actions> <action name="issue.CopyrightAttachFile" alias="AttachFile"> <view name="error">/secure/views/issue/attachfile.jsp</view> <view name="input">/secure/views/issue/attachfile.jsp</view> <view name="screenshot">/secure/popups/attachscreenshot.jsp</view> </action> </actions> </webwork1>
The built-in AttachFile action uses JSPs for its view (attachfile.jsp), and JSPs can't be packaged in attachments, so we had to modify the attachfile.jsp from JIRA. If it had been attachfile.vm, the plugin could have been completely self-contained.
See also how to List project leads in Administrators page
