Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JSM Assets API - how to add a field for referenced objects via api?

Günter Halmans August 5, 2025

Hi,

I would like to add a field from type "Object" to an object type via the Asset REST API, but I always get an error message "The input is not valid...".
Here is my payload:
payload = {
"name": "GH Services",
"type": "1",
"description": "This is my first test column",
"typeValue": "123", ## id of the object type the field should be referenced to.
"additionalValue": "123"
}

The request itself works, e.g. in case I add a default text field. 

Any idea how I could make it?
Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events