Project

General

Profile

Actions

Defect #44152

open

Custom Fields API does not return visible roles for custom fields other than issue custom fields

Added by Go MAEDA about 3 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
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

Also available in: Atom PDF