I want to get all the issue fields of a jira project. I can see there is an api /rest/api/3/field which will return all fields including system and custom fields but I want only those fields which are present in a project's epic, story,task and subtask.
Is there any way to achieve this?