Internal
Create a new instance of the service.
Validates a project key and, if the key is invalid or in use, generates a valid random string for the project key.
Permissions required: None.
Optional
key?: stringThe project key.
Returned if the request is successful.
example:
"VPNE"
Checks that a project name isn't in use. If the name isn't in use, the passed string is returned. If the name is in use, this operation attempts to generate a valid project name based on the one supplied, usually by adding a sequence number. If a valid project name cannot be generated, a 404 response is returned.
Permissions required: None.
The project name.
Returned if the request is successful.
example:
"Valid Project Name Example"
Validates a project key by confirming the key is a valid string and not in use.
Permissions required: None.
Optional
key?: stringThe project key.
Returned if the request is successful.
example:
{
"errorMessages": [],
"errors": {
"projectKey": "A project with that project key already exists."
}
}
Protected
Static
initialize
This resource provides validation for project keys and names.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-key-and-name-validation