Customfield typewith searchtype matching issueHistory()

We have implemented custom field type with integer property that works with following JQL

"My Custom related issue.id" in issueHistory()

Anyway, it would be nice to provide autocompletition for such “issue” generating JQL functions. I suppose that new searchType “issue” similar to “user” would be helpful.