Get screen ID for issue

Description

Summary

I am working on an add-on that needs to collect all of the fields that are currently visible while the user is looking at the issue’s details page (but no other fields should be included).

I can access any screen’s fields via the /rest/api/2/screens endpoint but I cannot gather the screen ID to feed that to the REST API. I believe there should be a JavaScript call to get the Screen ID.

Notes

Navigator's getLocation seems to be a good candidate to get this information for Jira cloud.

Environment

None

Assignee

Unassigned

Reporter

Gabor Nagy [Midori]

Labels

Configure