The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 comments

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

TAGS
AUG Leaders

Atlassian Community Events