...
Before you start please prepare these parameters:
- baseUrl - you can find this in url of Jira you use or in System → General configuraion → Base URL
- projectId - go to list of projects and for example check pid parameter under Edit Link in Actions column
- serviceDeskId - if you are on service desk portal you can see that in url just after servicedesk/customer/portal/{serviceDeskId}
- requestTypeId - if you are on service desk create request screen you can see that in url just after servicedesk/customer/portal/{serviceDeskId}/create/{requestTypeId}
Panel |
---|
|
Now follow these steps: - First of all check if you have Extended Schemes for Customer Portal installed. If not do it first.
Fill this url with your parameters: {$baseUrl}/rest/prioritycp/1.0/cpconfig?projectId={$projectId}&serviceDeskId={$serviceDeskId}&requestTypeId={$requestTypeId} Example of localhost with two projects created in Jira, first project created in Jira Core and second with Jira Service Desk for first request type. Code Block |
---|
http://localhost:8080/rest/prioritycp/1.0/cpconfig?projectId=10100&serviceDeskId=1&requestTypeId=1 |
Check the result. If Priority Scheme will be not set for this project then the result would be like this: Code Block |
---|
{"isPriorityScheme":"false","isResolutionScheme":"false","excludedPriorities":[],"excludedResolutions":[]} |
If you will encounter similar message please check first if IssueType Priority Scheme is set for this particular project.
For previous example after adding Priority field to first request type result could look like this: Code Block |
---|
{"isPriorityScheme":"true","isResolutionScheme":"false","excludedPriorities":[{"id":"2","name":"high"},{"id":"3","name":"medium"},{"id":"4","name":"low"}],"excludedResolutions":[]} |
If Priority Scheme isPriorityScheme will be not set for this project then the result would be like this: Code Block | {"isPriorityScheme":"false","isResolutionScheme":"false","excludedPriorities":[],"excludedResolutions":[]} true and you still will not be able to see less priorities on Create Request screen then please report link that you invoked and returned result to our support.
|
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@8ae |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "customer-portal" and type = "page" and space = "ES" |
---|
labels | customer-portal |
---|
|
...