Package com.atlassian.jira.rest.v2.issue
Class ProjectValidateResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.ProjectValidateResource
@Path("projectvalidate")
@Consumes("application/json")
@Produces("application/json")
public class ProjectValidateResource
extends Object
- Since:
- 5.0
-
Constructor Summary
ConstructorsConstructorDescriptionProjectValidateResource(ProjectService projectService, JiraAuthenticationContext authContext) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetProject(String key) Validates a project key.
-
Constructor Details
-
ProjectValidateResource
@Inject public ProjectValidateResource(ProjectService projectService, JiraAuthenticationContext authContext)
-
-
Method Details
-
getProject
Validates a project key.- Parameters:
key- the project key- Returns:
- an ErrorCollection containing any errors. If the project key is valid, the ErrorCollection will be empty.
-