I am developing a custom field type for Jira 8.x.
My custom field will support a earch Template but I want it to be non-searchable by default. The admin can choose to Edit the custom field and set a Search Template but I want the default Search Template to be None.
How can I do that?
I've checked this document about it but doesn't point to a way
I don't think that you can choose "none" as search template.
if you have some addons, you can choose between different templates, but if not, you have to select the jira standard template. And the template only defines that you can have different JQL options for the search.
if you want to hide the field to be "not searchable" via JQL, this might be possible with some addons that hide issue fields.
Hello Alexander,
The admin can set the Search Template to None and prevent searches. That is no problem.
What I want is to make that None value, default. When the admin creates a new custom field of my type, the selected Search Template should be None by default.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, now I understand
unfortunately, I cannot help with an automated solution (maybe there is some documantation on how to create own custom fields and set their defaults).
you can tell it your admin an hope he selects the template manually
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.