IssuePicker - Jira Server Plugin

Hello
I want to develop an issue Picker field inside my plugin like the picture bellow, with an Issue Picker selection and also with a Search History?
How can I achieve this scenario?