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?
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.