O'Reilly logo

JIRA 5.x Development Cookbook by Jobin Kuruvilla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

key

This should be unique within the plugin

class

Must implement the com.atlassian.jira.issue.customfields.CustomFieldType interface

i18n-name-key

The localization key for the human-readable name of the plugin module

name

Human-readable name of the web resource

The following are the key elements supported:

Name

Description

description

Description ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required