Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,432
Community Members
 
Community Events
168
Community Groups

REST API create project - leadAccountId is throwing an error

Edited

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

Atlassian Community Events