How to develop multi-checkbox custom-field plugin for Jira Server?

Hi there,

I am new to custom plugin development. I have gone through tutorials of creating a simple custom field. But as per my need, I want to develop a multi-checkbox custom field. I tried to find a needful source but I couldn’t the one which can explain very well. Basically, I want to understand which class do I need to extend and how to store and read from the database? I am looking for an example or documentation to follow.

Your support is highly appreciated.