Writing a simple custom field
In this recipe, we will see how to write a new custom field type. Once created, we can create a number of custom fields of this type on our JIRA instance that can then be used to capture information on the issues.
New custom field types are created with the help of the customfield-type
module. The following are the key attributes supported:
Name |
Description |
---|---|
|
This should be unique within the plugin |
|
Must implement the |
|
The localization key for the human-readable name of the plugin module |
|
Human-readable name of the web resource |
The following are the key elements supported:
Name |
Description |
---|---|
|
Description of the custom field type. |
|
Velocity templates for the custom field views. |
|
From JIRA 5.2, you can define a searcher in the custom field definition itself. This element is most useful when we have... |