I am creating 1000 Kanban projects by using REST calls but i dont find how to create projects with existed workflowshemes and issuetype screen schemes.
I found only permission scheme and notification scheme.
following is the code
curl -X POST \
https://localhost//rest/api/2/project \
-H 'Authorization: Basic username:password \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"key": "SHIV1",
"name": "SHIV1 Sample",
"projectTypeKey": "software",
"projectTemplateKey": "com.pyxis.greenhopper.jira:gh-kanban-template",
"description": " Project description",
"lead": "Shivaprasad",
"permissionScheme": 12404,
"assigneeType": "PROJECT_LEAD"
}'
curl -X POST \
https://localhost//rest/api/2/project \
-H 'Authorization: Basic username:password \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"key": "SHIV1",
"name": "SHIV1 Sample",
"projectTypeKey": "software",
"projectTemplateKey": "com.pyxis.greenhopper.jira:gh-kanban-template",
"description": " Project description",
"lead": "Shivaprasad",
"permissionScheme": 12404,
"workflowScheme": 12321,
"assigneeType": "PROJECT_LEAD"
}'
The above code is giving error like unrecognized workflowScheme
Can any one help me?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.