JIRA 4.3 : How do I get a handle to the 'components' of a JIRA project?
This page last changed on Feb 23, 2006 by bpatters7.
/** * get all the components for this project */ public Collection getAllComponents() { Long currentProjectId = (Long) ActionContext.getSession().get(SessionKeys.SELECTED_PROJECT); GenericValue currentProject = (GenericValue) projectManager.getProject(currentProjectId); Collection components = new ArrayList(projectManager.getComponents(currentProject)); return components; } |
![]() |
Document generated by Confluence on Mar 27, 2011 18:55 |