Is there any generic way to get (custom) field ids? eg: "Story points"?

javascript
jira-server
jira-cloud

#1

I am wondering if there is any generic way to get the (custom) field id’s for “Story Points”, “Sprint” and “Epic Link” of a Board? This should work ether in Server and Cloud environment. For now i use the field list (/rest/api/2/field) but the field names and clauseNames may differ in different languages for example “Story Points” -> “Story Punkte”

Any hints?

I know there is
GET /rest/agile/1.0/issue/{issueIdOrKey}/estimation
and
GET /rest/agile/1.0/board/{boardId}/configuration


#2

Bumping this up. Facing the same problem