JIRA REST API can't get custom field options

Please read this deprecation message which explains how to now get the options of a custom field and also include the context.