Hi,
I want to set up custom priority scheme on project creation.
I've tried to google it, but without success.
Also I didn't find anything about that on the rest documentation:
https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-project-post
So I decided to directly run it with prop priorityScheme:
curl --request POST \ --user email@example.com:<api_token> \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data ' { "key": "EX", "name": "Example", "projectTypeKey": "business", "projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-simplified-project-management", "description": "Example Project description", "lead": "Charlie", "url": "http://atlassian.com", "assigneeType": "PROJECT_LEAD", "avatarId": 10200, "issueSecurityScheme": 10001, "permissionScheme": 10011, "priorityScheme": 10021, "categoryId": 10120 }' \ --url 'https://your-domain.atlassian.net/rest/api/2/project'
But after running it I got next error:
{"errorMessages":["Unrecognized field \"priorityScheme\" (Class com.atlassian.jira.rest.v2.issue.project.ProjectInputBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@1cc00aa5; line: 1, column: 154] (through reference chain: com.atlassian.jira.rest.v2.issue.project.ProjectInputBean[\"priorityScheme\"])"]}
Does anyone know how to achieve it via rest api call rather than set up it manually?
I've found it under jira 7.7 version...
PUT /rest/api/2/project/{projectKeyOrId}/priorityscheme
)
https://developer.atlassian.com/server/jira/platform/preparing-for-jira-7-7/
We are on 7.6.6v (Data center) so we can't use the REST API... Does anyknow how any other way we can associate specific Priority Schema on project creation?
~Samip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.