<< All versions

Skill v1.0.1

currentAutomated scan100/100
perforce/p4plan-mcp/custom-fields

+3 new

──Details
PublishedNovember 14, 2026 at 10:53 PM
Content Hashsha256:cefea0d1088fc765...
Git SHAd844e7afc0cb
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 4.3 KB)
SKILL.md4.3 KBactive
SKILL.md · 65 lines · 4.3 KB

name: p4-plan-custom-fields description: Guide custom field management, configuration, and usage in P4 Plan. Use when user mentions custom fields, custom columns, creating columns (e.g. Time Spent), metadata, tags, categories, or project-specific data. metadata: version: "1.0.1"


Custom Fields in P4 Plan

Custom fields (custom columns) add project-specific data to tasks beyond the built-in fields.

Key Concepts

  • Each project defines its own set of custom columns.
  • Columns have types: Text, Multiline Text, Number, Decimal Number, Date, DateTime, Time Spent, Drop List, Multi-select Drop List, User, Hyperlink, and Function (computed).
  • To set a drop-list or multi-select value, pass option IDs (from get_custom_columns or the create_custom_column response items), not display labels, to set_custom_field.
  • Function fields are read-only — they appear in get_custom_fields output but cannot be set via set_custom_field.
  • Use onlySet parameter on get_custom_fields to skip empty fields.

Creating Columns

The create_custom_column description covers sections and types. Extra rules:

  • One section per call (list_projects IDs, never a name). "Everywhere" = 3 calls with identical name/type/unit/options so it stays one column.
  • Drop-list items: an array of labels ["Low","High"] (never one comma-separated string), or {name, icon} objects (not label/color). Colours: greenCircle, yellowCircle, redCircle, blueCircle, orangeCircle, magentaCircle.
  • Auto-assign (autoAssignToUsers/autoAssignToUserGroups) only works on singleSelectionDropList; tell the user multi-select can't.
  • updateOn* date flags need updateOnlyFirstTime (true = first time, false = every time).
  • useForTimeReporting replaces the project's time-reporting column (one for planning+backlog, one for QA): only set it when asked, and tell the user.
  • "Already exists" = name taken in that section (case-insensitive): tell the user. No formula columns, renames or deletes.

Tool Mapping

User IntentToolKey Parameters
List available custom columnsget_custom_columnsprojectId, activeOnly
Read task's custom field valuesget_custom_fieldstaskId, onlySet
Set a custom field valueset_custom_fieldtaskId, customFieldId, value
Add a column to a projectcreate_custom_columnprojectId, name, columnType

Value Formats by Type

Column TypeValue Format
TextAny string
Multiline TextSanitized HTML; plain text accepted (no tags = valid HTML). Use HTML for formatting or @mentions — see comment-html-format skill
NumberInteger string, e.g. "5"
Decimal NumberNumeric string, e.g. "5.5"
DateISO date "YYYY-MM-DD"
DateTimeISO datetime "YYYY-MM-DDTHH:MM:SS"
Time SpentHours to add, e.g. "2.5" (negative subtracts)
Drop ListOption ID from get_custom_columns
Multi-select Drop ListComma-separated option IDs, e.g. "id1, id2, id3"
HyperlinkURL string
UserComma-separated user IDs from list_project_users
FunctionRead-only — computed value

To clear a text, multiline, hyperlink, drop-list, user or time spent field, pass an empty string as the value. Number, decimal and date fields cannot be cleared through the API.

Related Skills

← v1.0.0All versions