Get info about PullRequest from Jira, but not REST API

Hi!

How can get information about PullRequest (like, id) from Jira-plugin, but not RESP API: “/rest/dev-status/1.0/issue/detail?issueId=&applicationType=stash&dataType=pullrequest”.

If not possible, then how cat request API ("/rest/dev-status/1.0/issue/detail?issueId=&applicationType=stash&dataType=pullrequest") in jira-plugin code with authentication.

Thanks!