- Overview
- Get started
- Concepts
- Using UiPath CLI
- UiPath for Coding Agents
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
uip tm customfield manages custom field definitions on a Test Manager tenant. Custom fields extend test case and requirement entities with project-specific metadata. This command group has three sub-groups:
customfield— manage the field definition itself (list, get, create, update, delete)customfield label— manage the display labels for a fieldcustomfield value— manage the allowed values for a field (for list-type fields)
Synopsis
uip tm customfield list [--project-key <key>]
uip tm customfield get --customfield-id <uuid>
uip tm customfield create --name <name> --type <type> [options…]
uip tm customfield update --customfield-id <uuid> [options…]
uip tm customfield delete --customfield-id <uuid>
uip tm customfield label get --customfield-id <uuid>
uip tm customfield label list --customfield-id <uuid>
uip tm customfield label create --customfield-id <uuid> --label <text>
uip tm customfield label add --customfield-id <uuid> --label <text>
uip tm customfield label remove --customfield-id <uuid> --label <text>
uip tm customfield value list --customfield-id <uuid>
uip tm customfield value get --customfield-id <uuid> --value-id <uuid>
uip tm customfield value create --customfield-id <uuid> --value <text>
uip tm customfield value update --customfield-id <uuid> --value-id <uuid> --value <text>
uip tm customfield value delete --customfield-id <uuid> --value-id <uuid>
uip tm customfield list [--project-key <key>]
uip tm customfield get --customfield-id <uuid>
uip tm customfield create --name <name> --type <type> [options…]
uip tm customfield update --customfield-id <uuid> [options…]
uip tm customfield delete --customfield-id <uuid>
uip tm customfield label get --customfield-id <uuid>
uip tm customfield label list --customfield-id <uuid>
uip tm customfield label create --customfield-id <uuid> --label <text>
uip tm customfield label add --customfield-id <uuid> --label <text>
uip tm customfield label remove --customfield-id <uuid> --label <text>
uip tm customfield value list --customfield-id <uuid>
uip tm customfield value get --customfield-id <uuid> --value-id <uuid>
uip tm customfield value create --customfield-id <uuid> --value <text>
uip tm customfield value update --customfield-id <uuid> --value-id <uuid> --value <text>
uip tm customfield value delete --customfield-id <uuid> --value-id <uuid>
All verbs honor the global options and the standard exit codes. Every verb accepts -t, --tenant <name> and --log-level <level> (default Information).
uip tm customfield list
List all custom field definitions. Optionally scoped to a project.
Arguments
None.
Options
--project-key <key>— scope the list to a specific project (optional).
Example
uip tm customfield list --project-key DEMO
uip tm customfield list --project-key DEMO
Data shape
{
"Code": "CustomFieldList",
"Data": [
{
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Priority",
"Type": "List"
}
]
}
{
"Code": "CustomFieldList",
"Data": [
{
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Priority",
"Type": "List"
}
]
}
uip tm customfield get
Get a single custom field definition by its UUID.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID. Obtain fromcustomfield list.
Example
uip tm customfield get --customfield-id c1b2c3d4-0000-0000-0000-000000000001
uip tm customfield get --customfield-id c1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldGet",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Priority",
"Type": "List"
}
}
{
"Code": "CustomFieldGet",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Priority",
"Type": "List"
}
}
uip tm customfield create
Create a new custom field.
Arguments
None.
Options
--name <name>(required) — field name.--type <type>(required) — field type. Accepted values are tool-version-dependent; runuip tm customfield create --helpto see the current enum.--project-key <key>— scope the field to a specific project.
Example
uip tm customfield create \
--name "Priority" \
--type List \
--project-key DEMO
uip tm customfield create \
--name "Priority" \
--type List \
--project-key DEMO
Data shape
{
"Code": "CustomFieldCreate",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Priority"
}
}
{
"Code": "CustomFieldCreate",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Priority"
}
}
uip tm customfield update
Update a custom field's name or other properties.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field to update.--name <name>— new name.
Example
uip tm customfield update \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--name "Severity"
uip tm customfield update \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--name "Severity"
Data shape
{
"Code": "CustomFieldUpdate",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Severity",
"Result": "Updated"
}
}
{
"Code": "CustomFieldUpdate",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Name": "Severity",
"Result": "Updated"
}
}
uip tm customfield delete
Delete a custom field definition.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field to delete.
Example
uip tm customfield delete --customfield-id c1b2c3d4-0000-0000-0000-000000000001
uip tm customfield delete --customfield-id c1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldDelete",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Result": "Deleted"
}
}
{
"Code": "CustomFieldDelete",
"Data": {
"Id": "c1b2c3d4-0000-0000-0000-000000000001",
"Result": "Deleted"
}
}
uip tm customfield label get
Get the display label for a custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.
Example
uip tm customfield label get --customfield-id c1b2c3d4-0000-0000-0000-000000000001
uip tm customfield label get --customfield-id c1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldLabelGet",
"Data": {
"Label": "Priority"
}
}
{
"Code": "CustomFieldLabelGet",
"Data": {
"Label": "Priority"
}
}
uip tm customfield label list
List all display labels for a custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.
Example
uip tm customfield label list --customfield-id c1b2c3d4-0000-0000-0000-000000000001
uip tm customfield label list --customfield-id c1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldLabelList",
"Data": [
"Priority",
"Severity"
]
}
{
"Code": "CustomFieldLabelList",
"Data": [
"Priority",
"Severity"
]
}
uip tm customfield label create
Set the display label for a custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--label <text>(required) — label text.
Example
uip tm customfield label create \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--label "Priority"
uip tm customfield label create \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--label "Priority"
Data shape
{
"Code": "CustomFieldLabelCreate",
"Data": {
"Label": "Priority",
"Result": "Created"
}
}
{
"Code": "CustomFieldLabelCreate",
"Data": {
"Label": "Priority",
"Result": "Created"
}
}
uip tm customfield label add
Add a label to a custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--label <text>(required) — label text to add.
Example
uip tm customfield label add \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--label "Severity"
uip tm customfield label add \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--label "Severity"
Data shape
{
"Code": "CustomFieldLabelAdd",
"Data": {
"Label": "Severity",
"Result": "Added"
}
}
{
"Code": "CustomFieldLabelAdd",
"Data": {
"Label": "Severity",
"Result": "Added"
}
}
uip tm customfield label remove
Remove a label from a custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--label <text>(required) — label text to remove.
Example
uip tm customfield label remove \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--label "Severity"
uip tm customfield label remove \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--label "Severity"
Data shape
{
"Code": "CustomFieldLabelRemove",
"Data": {
"Label": "Severity",
"Result": "Removed"
}
}
{
"Code": "CustomFieldLabelRemove",
"Data": {
"Label": "Severity",
"Result": "Removed"
}
}
uip tm customfield value list
List the allowed values for a list-type custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.
Example
uip tm customfield value list --customfield-id c1b2c3d4-0000-0000-0000-000000000001
uip tm customfield value list --customfield-id c1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldValueList",
"Data": [
{
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "High"
},
{
"Id": "v1b2c3d4-0000-0000-0000-000000000002",
"Value": "Medium"
}
]
}
{
"Code": "CustomFieldValueList",
"Data": [
{
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "High"
},
{
"Id": "v1b2c3d4-0000-0000-0000-000000000002",
"Value": "Medium"
}
]
}
uip tm customfield value get
Get a single allowed value by its UUID.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--value-id <uuid>(required) — value UUID. Obtain fromcustomfield value list.
Example
uip tm customfield value get \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value-id v1b2c3d4-0000-0000-0000-000000000001
uip tm customfield value get \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value-id v1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldValueGet",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "High"
}
}
{
"Code": "CustomFieldValueGet",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "High"
}
}
uip tm customfield value create
Add an allowed value to a list-type custom field.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--value <text>(required) — value text to add.
Example
uip tm customfield value create \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value "High"
uip tm customfield value create \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value "High"
Data shape
{
"Code": "CustomFieldValueCreate",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "High"
}
}
{
"Code": "CustomFieldValueCreate",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "High"
}
}
uip tm customfield value update
Update an existing allowed value.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--value-id <uuid>(required) — value UUID to update.--value <text>(required) — new value text.
Example
uip tm customfield value update \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value-id v1b2c3d4-0000-0000-0000-000000000001 \
--value "Critical"
uip tm customfield value update \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value-id v1b2c3d4-0000-0000-0000-000000000001 \
--value "Critical"
Data shape
{
"Code": "CustomFieldValueUpdate",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "Critical",
"Result": "Updated"
}
}
{
"Code": "CustomFieldValueUpdate",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Value": "Critical",
"Result": "Updated"
}
}
uip tm customfield value delete
Delete an allowed value.
Arguments
None.
Options
--customfield-id <uuid>(required) — custom field UUID.--value-id <uuid>(required) — value UUID to delete.
Example
uip tm customfield value delete \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value-id v1b2c3d4-0000-0000-0000-000000000001
uip tm customfield value delete \
--customfield-id c1b2c3d4-0000-0000-0000-000000000001 \
--value-id v1b2c3d4-0000-0000-0000-000000000001
Data shape
{
"Code": "CustomFieldValueDelete",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Result": "Deleted"
}
}
{
"Code": "CustomFieldValueDelete",
"Data": {
"Id": "v1b2c3d4-0000-0000-0000-000000000001",
"Result": "Deleted"
}
}
Related
- requirement — requirements can carry custom field values.
- testcases — test cases can carry custom field values.
See also
- Synopsis
- uip tm customfield list
- Arguments
- Options
- Example
- Data shape
- uip tm customfield get
- Arguments
- Options
- Example
- Data shape
- uip tm customfield create
- Arguments
- Options
- Example
- Data shape
- uip tm customfield update
- Arguments
- Options
- Example
- Data shape
- uip tm customfield delete
- Arguments
- Options
- Example
- Data shape
- uip tm customfield label get
- Arguments
- Options
- Example
- Data shape
- uip tm customfield label list
- Arguments
- Options
- Example
- Data shape
- uip tm customfield label create
- Arguments
- Options
- Example
- Data shape
- uip tm customfield label add
- Arguments
- Options
- Example
- Data shape
- uip tm customfield label remove
- Arguments
- Options
- Example
- Data shape
- uip tm customfield value list
- Arguments
- Options
- Example
- Data shape
- uip tm customfield value get
- Arguments
- Options
- Example
- Data shape
- uip tm customfield value create
- Arguments
- Options
- Example
- Data shape
- uip tm customfield value update
- Arguments
- Options
- Example
- Data shape
- uip tm customfield value delete
- Arguments
- Options
- Example
- Data shape
- Related
- See also