Actions
Defect #44152
openCustom Fields API does not return visible roles for custom fields other than issue custom fields
Resolution:
Affected version:
Description
In the Web UI, role-based visibility can be configured for IssueCustomField, TimeEntryCustomField, ProjectCustomField, and VersionCustomField.
However, the Custom Fields index API (GET /custom_fields.(xml|json)) currently returns the roles array only for IssueCustomField. As a result, API clients cannot retrieve role visibility settings for custom fields other than IssueCustomField that support role-based visibility.
The attached patch fixes this inconsistency by returning roles for all custom field types that support role-based visibility.
The existing API response for IssueCustomField remains unchanged.
Files
No data to display
Actions