Class CustomFieldDescription

java.lang.Object
com.atlassian.jira.issue.fields.CustomFieldDescription

public class CustomFieldDescription extends Object
Helper class for rendering the custom field description field.
Since:
v5.0.7
  • Constructor Details

  • Method Details

    • createRenderablePropertyFor

      @Nonnull public RenderableProperty createRenderablePropertyFor(@Nullable CustomField customField)
      Creates a RenderableProperty used for rendering view/edit controls for a given CustomField. If customField is null, then the RenderableProperty will not have any associated storage (but can be used to render the description field in the "create custom field" page).
      Parameters:
      customField - a CustomField (may be null)
      Returns:
      a RenderableProperty
    • createRenderablePropertyFor

      @Nonnull public RenderableProperty createRenderablePropertyFor(String description)
      Creates a RenderableProperty used for translating a given CustomField. It just uses the passed in text.
      Parameters:
      description -
      Returns:
      a RenderableProperty