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

REST API create project - leadAccountId is throwing an error

Rajinish_Gaddam February 5, 2020

I'm using python REST document to create a project but I was getting an Internal server error. I didn't find any solution, please help thanks in advance.

payload = json.dumps({
"notificationScheme": 10021,
"description": "Example Project description",
"leadAccountId": "<accountId>",
"url": "http://atlassian.com",
"projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-simplified-process-control",
"avatarId": 10200,
"issueSecurityScheme": 10001,
"name": "Example",
"permissionScheme": 10011,
"assigneeType": "PROJECT_LEAD",
"projectTypeKey": "business",
"key": "EX",
"categoryId": 10120
}
)
Response:(status_code: 400)

{
"errorMessages": [
"Internal server error"
],
"errors": {}
}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events