Develop an event listner

Hello team
Im new in jira developping
My requirement is to create a plugin which when i install it , a custom field (select list) be installed.

Can SO help me !

View this documentation:
You would trigger your code in the afterPropertiesSet method.

perhaps you don’t need plugin at all. Custom field can be created and configured in Jira settings. If it really has to be plugin you should check this tutorial