Class ProjectHelper

java.lang.Object
com.atlassian.greenhopper.web.project.ProjectHelper

@Service public class ProjectHelper extends Object
  • Constructor Details

    • ProjectHelper

      public ProjectHelper()
  • Method Details

    • getAllBrowseableProjects

      @GET public ServiceOutcome<List<ProjectModel>> getAllBrowseableProjects(com.atlassian.jira.user.ApplicationUser user)
      Blatantly ripping off JIRA's ProjectResource because it doesn't do one small thing that I want it to do. If JIRA ever changes it's API to allow you to get projects with an option on permissions, then we can remove this.
    • getProject

      public ServiceOutcome<com.atlassian.jira.project.Project> getProject(com.atlassian.jira.user.ApplicationUser user, Long projectId)
      Wrapping the project service method so that we can use the ServiceOutcome in our REST resource.
    • getProjectByKey

      public ServiceOutcome<com.atlassian.jira.project.Project> getProjectByKey(com.atlassian.jira.user.ApplicationUser user, String projectKey)