I am trying to get a List of all available IssueTypes with the getIssueTypes() method of the IssueTypeManager.
But I cannot manage to get the instance of IssueTypeManager.
A ComponentAccessor.getIssueTypeManager() does not exist.
Hi Fabian.
You are right, it does not exist. However, you can access it by:
def issueTypeManager = ComponentAccessor.getComponent(IssueTypeManager)
Hope this helped!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.