jira
jira copied to clipboard
create project with 'permissionScheme' field is causing 500
Bug summary
the current payload as is:
payload = {
"name": name,
"key": key,
"projectTypeKey": ptype,
"projectTemplateKey": template_key,
"leadAccountId" if self._is_cloud else "lead": assignee,
"assigneeType": "PROJECT_LEAD",
"description": "",
# "avatarId": 13946,
"permissionScheme": int(permissionScheme), # <----------
"notificationScheme": notificationScheme,
"url": url,
}
having this field on causes error:
response text = {"errorMessages":["Internal server error"],"errors":{}}
Is there an existing issue for this?
- [X] I have searched the existing issues
Jira Instance type
Jira Cloud (Hosted by Atlassian)
Jira instance version
No response
jira-python version
main
Python Interpreter version
3.8
Which operating systems have you used?
- [X] Linux
- [ ] macOS
- [ ] Windows
Reproduction steps
jira.create_project("MP", "My Project")
Stack trace
response text = {"errorMessages":["Internal server error"],"errors":{}}
Expected behaviour
201
Additional Context
PR #1483 closes this issue