If you’re developing a custom field and would like to ensure they are 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 a FieldJsonRepresentation
is returned, we'll utilize 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:
<web-resource key="resource-key" name="Resource Name"> ... <context>refinedcustomerportal</context> </web-resource>
See more at Extend the Customer Portal UI.