Problem
If you will be having problems with list of Priorities on Customer Portal in Jira Service Desk please follow the following instructions:
Solution
Before you start please prepare these parameters:
Now follow these steps:
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.
http://localhost:8080/rest/prioritycp/1.0/cpconfig?projectId=10100&serviceDeskId=1&requestTypeId=1
Check the result. For previous example after adding Priority field to first request type result could look like this:
{"isPriorityScheme":"true","isResolutionScheme":"false","excludedPriorities":[{"id":"2","name":"high"},{"id":"3","name":"medium"},{"id":"4","name":"low"}],"excludedResolutions":[]}
If Priority Scheme will be not set for this project then the result would be like this:{"isPriorityScheme":"false","isResolutionScheme":"false","excludedPriorities":[],"excludedResolutions":[]}
Related articles
0 Comments