Versions Compared

Key

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

If you’re developing a custom field and would like to ensure they are , see which interfaces and methods we rely on to make sure the custom field will be rendered correctly on a Refined portal you’ll find information on what interfaces and methods we rely on here.

RestAwareField

If your custom field implements the RestAwareField and ensure ensures a FieldJsonRepresentation is returned, we'll utilize utilise the supplied rendered value when displaying the field value. This would also add support for your field in the regular Jira Rest API.

OrderableField

Another option is if you’re implementing the OrderableField and the getViewHtml method. If you’re implementing both of these the RestAwareField method takes precedence.

Frontend/Javascript

If you’re building your rendered value in the frontend you’ll need to , ensure your resources are loaded in the refined customer portal context by adding the context to the web-resource xml:

Code Block
<web-resource key="resource-key" name="Resource Name">
 
    ...
 
    <context>refinedcustomerportal</context>
</web-resource>

...