Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The first and simple way of doing it, and portable across Jira versions, is by using the lfDisable routine from the Live Fields feature of our Power Scripts for Jira app.

Option 1

  1. Create a SIL file called "Main Script" with the following code:

    Code Block
    titleMainScript.sil
    lfDisable("customfield_xxxxx");

    where customfield_xxxxx is the the ID of your database child custom field. You can see the custom field ID as a parameter in the URL when editing its configuration. 
    For example,  .../secure/admin/EditCustomField!default.jspa?id=10701.
     

  2. Create a Live Field Configuration using the above Main Script and associate it to a project, let's call it ProjX.
  3. Every time we enter the issue page of the ProjX project, the MainScript.sil is executed and the customfield_xxxxx will be read-only.

...