public final class ProjectPrioritySchemeResource extends Object
| Constructor and Description |
|---|
ProjectPrioritySchemeResource(PrioritySchemeService prioritySchemeService,
ResponseFactory responseFactory,
JiraAuthenticationContext jiraAuthenticationContext,
PrioritySchemeBeansFactory prioritySchemeBeansFactory) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
assignPriorityScheme(javax.ws.rs.core.UriInfo uriInfo,
String projectKeyOrId,
IdBean prioritySchemeId)
Assigns project with priority scheme.
|
javax.ws.rs.core.Response |
getAssignedPriorityScheme(javax.ws.rs.core.UriInfo uriInfo,
String projectKeyOrId)
Gets a full representation of a priority scheme in JSON format used by specified project.
|
javax.ws.rs.core.Response |
unassignPriorityScheme(javax.ws.rs.core.UriInfo uriInfo,
String projectKeyOrId,
Long schemeId)
Unassigns project from priority scheme.
|
public ProjectPrioritySchemeResource(PrioritySchemeService prioritySchemeService, ResponseFactory responseFactory, JiraAuthenticationContext jiraAuthenticationContext, PrioritySchemeBeansFactory prioritySchemeBeansFactory)
@ExperimentalApi
public javax.ws.rs.core.Response assignPriorityScheme(@Context
javax.ws.rs.core.UriInfo uriInfo,
String projectKeyOrId,
IdBean prioritySchemeId)
expand=projectKeys.uriInfo - a UriInfoprojectKeyOrId - key or id of the projectprioritySchemeId - object that contains an id of the scheme@ExperimentalApi
public javax.ws.rs.core.Response unassignPriorityScheme(@Context
javax.ws.rs.core.UriInfo uriInfo,
String projectKeyOrId,
Long schemeId)
expand=projectKeys.uriInfo - a UriInfoprojectKeyOrId - key or id of the projectschemeId - object that contains an id of the scheme@ExperimentalApi
public javax.ws.rs.core.Response getAssignedPriorityScheme(@Context
javax.ws.rs.core.UriInfo uriInfo,
String projectKeyOrId)
expand=projectKeys.uriInfo - a UriInfoprojectKeyOrId - key or id of the projectCopyright © 2002-2021 Atlassian. All Rights Reserved.