Class BrowseProjectsResource

java.lang.Object
com.atlassian.jira.rest.v1.projectcategories.BrowseProjectsResource

@Path("/browse-project") @Consumes("application/json") @Produces("application/json") public class BrowseProjectsResource extends Object
REST endpoint for setting the active Project Category and active Project Type on the browse projects page.
  • Constructor Details

  • Method Details

    • getCurrent

      @GET @Path("/category/active") public javax.ws.rs.core.Response getCurrent()
      Returns the active Project Category.
      Returns:
      the active Project Category
    • setCurrent

      @POST @Path("/category/active") public javax.ws.rs.core.Response setCurrent(BrowseProjectsResource.ActiveCategory activeCategory)
      Sets the active project category.
      Parameters:
      activeCategory - the active project category
      Returns:
      a 200 response.
    • setSelectedProjectTypeKey

      @POST @Path("/project-type/active") public javax.ws.rs.core.Response setSelectedProjectTypeKey(String currentProjectType)
      Sets the current project type.
      Parameters:
      currentProjectType - the current project type
      Returns:
      a 200 response.