I am trying to automate Project creation from an Automation Rule.
The GET REST API returns 200 response code, however, the "POST" API is returning 500
what am I missing?
http method POST - https://jira-xyz.atlassian.net/rest/api/3/project
Headers-
authorization: Basic setsdkjfkjhdxtjydfgl
Content-Type : application/json
custom data -
{
"notificationScheme": 10021,
"description": "Cloud migration initiative",
"leadAccountId": "569565786957",
"url": "https://jira-xyzabc.atlassian.net",
"avatarId": 10200,
"issueSecurityScheme": 10001,
"projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-simplified-process-control",
"name": "Example",
"permissionScheme": 10011,
"assigneeType": "PROJECT_LEAD",
"projectTypeKey": "business",
"key": "EX",
"categoryId": 10120
}