So far we’ve only built this plugin using APIs for Jira Cloud. So you might not be successful with Jira DC.
Jira Cloud REST doc: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-get
Jira DC/Server REST doc: https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples