...
The first and simple way of doing it, and portable across JIRA versions, is by using the lfDisable lfDisableroutine from the Live Fields feature of our Power Script for JIRA (formerly known as JJUPIN) plugin.
Just create a SIL file called Main Script with the following code:Code Block title MainScript.sil lfDisable("customfield_xxxxx");
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')
Then create a Live Field Configuration using the above Main Script and associate it to a project, let's call it ProjX.
Every time we enter on an issue page of ProjX project, the MainScript.sil is executed and the customfield_xxxxx will be read-only.
You can find more about Live Fields here, including a configuration example similar to the one above.
Or, as an alternative method you can use javascript injection into the custom field's description.
Note You should pay attention that this may not be portable across JIRA versions.
...