JIRA boasts of a simple, clutterless UI. You will find this theme in the View Issue page, and one of the standout things is the way issue fields are arranged on the page. The fields are grouped based on their type and you will see separate sections for the user and date fields, as shown in the next screenshot:
But how do we define the custom fields that we develop as a date field or a user field?
When you write your new date fields or user fields, all you need to do to make it appear in the correct sections is to implement the right interface!
For a user field, the new custom field type class should implement the following interface:
com.atlassian.jira.issue.fields.UserField
For a date field, implement the following:
com.atlassian.jira.issue.fields.DateField
If you are extending the existing date fields or user fields, they already implement the interface, and hence they will appear automatically in there!
What if you do not want your field in the special date...