Hi,
We have developed some custom fields, but they are not visible on JSM Portal. They are very basic select fields. When I try to add them, they are added to “Hidden fields with preset values” section. I could not find out why. Do you know what should I do to make them display on customer portal?
Hi @denizoguz I’m having the exact same issue, did you find a solution?
My custom developed field also defaults to the “Hidden” section of the request type.
I define my class like this:
public class AddressCustomField extends AbstractSingleFieldType<String> {}
It works on the standard project but on the portal, I get this error:
Hi @splinterface,
Unfortunately I couldn’t. Please let me know if you find a solution.
Hi @denizoguz,
I was able to get it working as a field on a Portal by defining the custom field as:
public class JiraCustomField extends GenericTextCFType {
public JiraCustomField(
@JiraImport CustomFieldValuePersister customFieldValuePersister,
@JiraImport GenericConfigManager genericConfigManager,
@JiraImport TextFieldCharacterLengthValidator textFieldCharacterLengthValidator,
@JiraImport JiraAuthenticationContext jiraAuthenticationContext) {
super(customFieldValuePersister, genericConfigManager, textFieldCharacterLengthValidator , jiraAuthenticationContext);
}
}
I found this from this article.
Hi @splinterface,
Thanks for the update. Unfortunately I’m extending from ReadOnlyCFType which already extends from GenericTextCFType but it is still not useable on the portal.
Does anyone find solution for this issue?
Any updates or progress from anyone on this? Ran into this as well.