For customfields, iterate through customFieldManager.getCustomFieldObjects(); For each one, use getCustomFieldType() for the "type"
For the system fields, you have two problems. First, almost all of them are they're own "type", although they may eventually store similar data to other fields. Secondly, there's no list. To fix both of those issues, you have to know the list of all the types and code for each of them that you want to use explicitly. The method I remember is FieldManager.getField(IssueFieldConstants.<something> where <something> is an item from the constant list at https://docs.atlassian.com/jira/latest/index.html?com/atlassian/jira/issue/CustomFieldManager.html
The API provides methods for reading fields, but some fields are read differently from others. issue.get<something> works for most, but not the ones with more involved structures. Start at https://developer.atlassian.com/jiradev/api-reference and work your way down to the issue object
In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG