View Issue Details

IDProjectCategoryView StatusLast Update
0032449mantisbtapi restpublic2026-09-02 15:08
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version2.25.7 
Target Version2.29.0Fixed in Version2.29.0 
Summary0032449: REST API: Support linking/unlinking custom fields to projects
Description

Support linking/unlinking custom fields to projects via REST API

TagsNo tags attached.

Relationships

related to 0032448 new REST API: Support CRUD for Custom Fields 

Activities

Related Changesets

MantisBT: master 2a630e18

2026-08-30 00:26

vboctor


Details Diff
Add REST project custom field linking

Fixes 0032449
Affected Issues
0032449
mod - api/rest/restcore/projects_rest.php Diff File
add - core/commands/ProjectFieldLinkCommand.php Diff File
add - core/commands/ProjectFieldUnlinkCommand.php Diff File

MantisBT: master 1e692a1d

2026-08-30 00:26

vboctor


Details Diff
Add REST custom field linking tests

Fixes 0032449
Affected Issues
0032449
add - tests/rest/RestProjectCustomFieldTest.php Diff File

MantisBT: master b9584de7

2026-08-30 00:26

vboctor


Details Diff
Document project custom field endpoints

Fixes 0032449
Affected Issues
0032449
mod - api/rest/mantisbt_openapi.yaml Diff File

MantisBT: master e237470f

2026-08-30 00:26

vboctor


Details Diff
Use command for multi-project custom field links

Fixes 0032449
Affected Issues
0032449
mod - manage_custom_field_proj_add.php Diff File

MantisBT: master a95389a0

2026-08-30 00:26

vboctor


Details Diff
Use command for project custom field links

Fixes 0032449
Affected Issues
0032449
mod - manage_proj_custom_field_add_existing.php Diff File

MantisBT: master fcfbf831

2026-08-30 00:26

vboctor


Details Diff
Use command when copying custom fields

Fixes 0032449
Affected Issues
0032449
mod - manage_proj_custom_field_copy.php Diff File

MantisBT: master 0c50e723

2026-08-30 00:26

vboctor


Details Diff
Use command for custom field unlinking

Fixes 0032449
Affected Issues
0032449
mod - manage_proj_custom_field_remove.php Diff File

MantisBT: master 4d39412c

2026-08-30 00:26

vboctor


Details Diff
Use command for custom field sequencing

Fixes 0032449
Affected Issues
0032449
mod - manage_proj_custom_field_update.php Diff File

MantisBT: master b215b0eb

2026-08-30 11:10

vboctor


Details Diff
Remove unused custom field copy API

Fixes 0032449
Affected Issues
0032449
mod - core/project_api.php Diff File

MantisBT: master 1e5b8662

2026-08-30 11:36

vboctor


Details Diff
Invalidate custom field link caches

Fixes 0032449
Affected Issues
0032449
mod - core/custom_field_api.php Diff File
mod - tests/rest/RestProjectCustomFieldTest.php Diff File

MantisBT: master e108a253

2026-09-01 19:03

dregad


Details Diff
Fix PHP warning in custom_field_cache_row()

It can happen that $g_cache_custom_field does NOT contain an entry for
a given custom field id, causing an Undefined array key warning.

This is likely a regression introduced by issue 0036889 (commit
71404459cec835ff068f1812b52da9ebea223abb), which introduced an early
return from the function; previously, the key was guaranteed to exist.

Adding a null-coalescing operator fixes the problem.

Issue 0032449
Affected Issues
0032449, 0036889
mod - core/custom_field_api.php Diff File