The thing I want to achieve: I want to get the fields used in the Jira Create dialog in the order it appears on that screen.
The /rest/api/2/issue/createmeta/{project}/issuetypes/{issueTypeId}
endpoint returns the fields in that project. However, it doesn’t give you any idea of the order.
The http://localhost:2990/jira/rest/api/2/screens/{screen-id}/tabs/{tab-id}/fields
gives you the order of the fields.
However, what piece I am missing is which screen a given project is using. Without that information, the whole /screens API is a bit pointless, as I don’t know which screen I should use.
Is there an API which I am missing? Or is there a ugly work around to find out which screen is used.