Hi,
i want to get all the project names into a dropdown menu in my plugin , Is there any way to get the project names ,pls help me to do this
Inject ProjectManager into your plugin code and use projectManager.getProjectObjects() to get a list
https://docs.atlassian.com/jira/latest/com/atlassian/jira/project/ProjectManager.html#getProjectObjects()
Or just get the component:
ProjectManager projectManager = ComponentManager.getComponentInstanceOfType(ProjectManager.class); Collection<Project> projects = projectManager.getProjectObjects();
Hi Nageswarara,
Please use this API : ComponentAccessor.getProjectManager().getProjectObjects()
in the UI : traverse the project list and use apis of project object class
Hi Please can i have pom dependencies for deploying the Project Manager interface
It looks like you're new here. Sign in or register to get started.