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 !
I'm guessing this was posted in CLOUD in error (I don't think these methods are accessible in cloud) and the correct post is https://community.atlassian.com/t5/Jira-Software-questions/Api-method-getAssociatedIssueTypes-returning-null-objects/qaq-p/1682398
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.