I'm learning Rest Api's in Jira now .
i want to know is it possible to create a project in Jira with Rest API.
i got a code through Chat Gpt and tried to do that but got some error .
in body i mention like this
{
"key": "ATP",
"name": "Akshith Test Project",
"projectTypeKey": "software",
"lead": {
"key" : "61f93c0fb3ec760068c11a32"
}
}
getting following error
"Invalid request payload. Refer to the REST API documentation and try again."
]
i used post method to do this and i'm Jira admin i have a permission to create new project