Class ScopeFilterDataResource
java.lang.Object
com.atlassian.jira.projects.sidebar.header.ScopeFilterDataResource
@Produces("application/json")
@Path("/project/{projectKey}/rapidviews")
public class ScopeFilterDataResource
extends Object
A REST resource that returns filtered scope data.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScopeFilterDataResource(JiraAuthenticationContext jiraAuthenticationContext, ProjectHeaderRendererImpl projectHeaderRenderer, ProjectService projectService) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetBoardsByProject(String projectKey) Returns list of boards in selected project.
-
Field Details
-
jiraAuthenticationContext
-
projectService
-
-
Constructor Details
-
ScopeFilterDataResource
@Inject public ScopeFilterDataResource(JiraAuthenticationContext jiraAuthenticationContext, ProjectHeaderRendererImpl projectHeaderRenderer, ProjectService projectService)
-
-
Method Details
-
getBoardsByProject
@GET public jakarta.ws.rs.core.Response getBoardsByProject(@PathParam("projectKey") String projectKey) throws IOException Returns list of boards in selected project.- Parameters:
projectKey- specifies the project whose boards should be returned- Returns:
- list of boards in project
- Throws:
IOException
-