...
Code Block |
---|
<script type="text/javascript"> documentAJS.getElementById$('customfield#customfield_xxxxx10014').attr('readOnly', true); //the following code is for inline edit only JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e, context, reason) { if(reason == JIRA.CONTENT_ADDED_REASON.inlineEditStarted) { AJS.$('#customfield_10014', context).attr('readOnly', true); } }); </script> |
,where customfield_xxxxx is the the id of your dbcf child custom field. You can see the cf id as parameter in the URL when editing its configuration (eg '.../secure/admin/EditCustomField!default.jspa?id=10701'):
That's it. Your database child field will now be read-only on all screens.