Dear Community,
Can you please help me in getting all the issuetypes associated to all projects.
I mean Project X has N issuetypes (names of issuetypes and projects) using script runner .
Waiting for an early reply.
Thanks
harish Kumar
import com.atlassian.jira.component.ComponentAccessorimport com.atlassian.jira.project.ProjectManager
ProjectManager projectManager = ComponentAccessor.getProjectManager()
projectManager.getProjectObjects().each {log.warn it.getName() + " -> " + it.getIssueTypes()*.getName()}
It looks like you're new here. Sign in or register to get started.