Versions Compared

Key

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

Problem

You have created a Calculated Date/Time, Number or Text Field, and all the sudden you cannot edit the custom field because all editing actions (Edit, Hide, Required, Screens) have disappeared in the Custom Field list for my custom field. In addition, some other custom fields that you know should be on the Custom Fields page are suddenly missing.

Cause

It is very likely that you have incorrectly closed the HTML-style comment in which the Calculated Field formula or field name should be placed. For example:

Code Block
<!-- @@Formula:
return "a value";
—>

In the example above, notice the "—>" instead of "-->".

Solution

This is a limitation of JIRA, which doesn't make sure the html you input in the field description is "safe".

This easiest fix when you run into that sort of trouble is to :

...

edit the

...

Description of the broken

...

Calculated Field. To do that, follow these steps:

  1. open JIRA's log file (atlassian-jira.log). See https://<JIRA-base-url>/rest/api/2/field (search for the field name, the field ID will be next to it, keep only the numerical part)then navigate to the following URL (replacing the two placeholders): https://<JIRA-base_URL>/secure/admin/EditCustomField!default.jspa?id=<field-ID-from-above>
    You will thus be able to edit the field description and restore the proper HTML comment beginning and end markersconfluence.atlassian.com/adminjiraserver071/logging-and-profiling-802592962.html for details.
  2. search for the following text: "could not find formula in custom field description". If you do not find any instance of that text, look for "could not find transition name or ID in custom field description" and then "could not find Field name in Description of field" instead
  3. copy the URL provided right after that text and navigate to it in your browser. This will lead you to the Edit Field screen for the badly configured field. Fix any error there (pay extra attention to the closing comment characters which should read: "-->"
  4. make sure the editing buttons and/or the missing custom fields have returned. If not, repeat the process to find other misconfigured custom fields.

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("jmcf","custom-field") and type = "page" and space = "KB"
labelsjmcf custom-field

Page Properties
hiddentrue
Related issues