Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create Project by REST calls with workflowscheme and screen schemes.

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"
}'

1 answer

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?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you