check the atlassian document here
https://developer.atlassian.com/display/JIRADEV/How+to+create+a+new+Custom+Field+Type
check @jobin site here to know how to develop custom field type
http://www.j-tricks.com/1/post/2010/08/custom-fields.html
some sample code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.