-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
None
-
Affects Version/s: 7.12.1
-
Component/s: Documentation, REST API
-
7.12
-
1
-
Severity 3 - Minor
-
0
Issue Summary
Custom Fields REST API call returns custom fields type incorrectly
Steps to Reproduce
- Run the following rest call:
GET /rest/api/2/customFields
Expected Results
As per the docs https://docs.atlassian.com/software/jira/docs/api/REST/7.12.1/#api/2/customFields-getCustomFields we get a results with the type as shown below:
{
"id": "customfield_10000",
"name": "New custom field",
"description": "Custom field for picking groups",
"type": "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker",
"searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher"
}
Actual Results
{
"id": "customfield_10200",
"name": "My Select List",
"type": "Select List (single choice)",
"searcherKey": "My Select List",
"self": "http://localhost:7121/jira7_12_1/rest/api/2/customFields/customfield_10200",
"numericId": 10200,
"isLocked": false,
"isManaged": false,
"isAllProjects": true,
"projectsCount": 0,
"screensCount": 5
}