Project

General

Profile

Actions

Defect #44152

closed

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

Added by Go MAEDA 20 days ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
REST API
Target version:
Resolution:
Fixed
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

Actions

Also available in: Atom PDF