public class

ProjectCategoriesResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v1.projectcategories.ProjectCategoriesResource

Class Overview

REST endpoint for setting the active Project Category.

Summary

Nested Classes
class ProjectCategoriesResource.ActiveCategory  
Public Constructors
ProjectCategoriesResource(JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory contextFactory, ProjectManager projectManager, PermissionManager permissionManager)
Public Methods
Response getCurrent()
Returns the active Project Category.
Response setCurrent(ProjectCategoriesResource.ActiveCategory activeCategory)
Sets the active project category.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProjectCategoriesResource (JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory contextFactory, ProjectManager projectManager, PermissionManager permissionManager)

Public Methods

public Response getCurrent ()

Returns the active Project Category.

Returns
  • the active Project Category

public Response setCurrent (ProjectCategoriesResource.ActiveCategory activeCategory)

Sets the active project category.

Parameters
activeCategory the active project category
Returns
  • a 200 response.