Hello,
I want to retrieve with scriptrunner all IssueTypeSchemes and their related Issuetypes,
When i call the method getAssociatedIssueTypes() to retrieve the issuetypes linked to a FieldConfigScheme i get always a collection of null objects.
Below the script : ( for exemple extracting all issutypes of Default ITS)
import com.atlassian.jira.component.ComponentAccessor
def issueTypeSchemeManager = ComponentAccessor.getIssueTypeSchemeManager()
def defaultIssueTypeScheme = issueTypeSchemeManager.getDefaultIssueTypeScheme()
defaultIssueTypeScheme.getAssociatedIssueTypes()
Result :
[null]
Any idea to fix that , thank you in advance !