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 3 days ago. Updated about 22 hours ago.

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

Actions #1

Updated by Go MAEDA about 22 hours ago

  • Target version changed from Candidate for next major release to 7.0.0

Setting the target version to 7.0.0.

Actions

Also available in: Atom PDF