I'm using the following payload in my request.
payload = {
"key": "JPD123",
"name": "Product Discovery Project",
"projectTypeKey": "software",
"projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-product-discovery",
"description": "This is a Jira Product Discovery project.",
"leadAccountId": "your_account_id"
}The response I'm getting is
400 {'errorMessages': ['The project template specified does not exist. Make sure the project template is available in your Jira instance. Please talk to your Jira administrator if you need more help.'], 'errors': {'projectLead': 'You must specify a valid project lead.'}}