I am trying to create a project using the REST API
curl --request POST \
--url 'https://jira.mydomain.com/rest/api/2/project' \
--user 'admin_user:admin_password' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"description": "Example Project description",
"lead": "myuser",
"url": "http://atlassian.com",
"projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-project-management",
"name": "Curl Example",
"assigneeType": "PROJECT_LEAD",
"projectTypeKey": "business",
"key": "ABC004",
"issueSecurityScheme": 10000,
"categoryId": 10300,
"avatarId" : 10324,
"permissionScheme": 0,
"notificationScheme": 10000,
"workflowSchemeId": 10900
}'
But I get a internal server error
{"errorMessages":["Internal server error"],"errors":{}}
I have used the API to confirm all the projectTemplateKey, issueSecurityScheme, CategoryID,. permissionScheme, notificationScheme and workflowSchemeID are correct values.
My searching is not finding anything, does any one have any idea please?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.