Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why I am getting internal server error when trying to create a new project in jira using REST API?

ayushi April 27, 2020

I tried to create a project in jira using REST API  with post request

POST /rest/api/3/project

Key value pairs are correct but still giving error.

{
"notificationScheme": 10000,
"description": "Example Project description",
"leadAccountId": "{AccountId}",
"url": "http://atlassian.com",
"projectTemplateKey": "com.pyxis.greenhopper.jira:gh-simplified-scrum-classic",
"avatarId": 10400,
"issueSecurityScheme": "",
"name": "Example Proj",
"permissionScheme": 10004,
"assigneeType": "PROJECT_LEAD",
"projectTypeKey": "software",
"key": "EXP"
}

in place of AccountId, I have used my valid accountid. 

projectTemplateKey has value according to scrum project in jira.See this

Please provide a solution. 

1 answer

0 votes
Chris
Contributor
August 12, 2021

Im having exactly the same issue. 

 

I have fixed all of the errors that get returned when I try tweaking everything but nothing is working!!!

Suggest an answer

Log in or Sign up to answer