Forums

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

JSM Cloud Asset Rest api to add new options to the existing attribute of type Select?

Kiran_ Pedduri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2025

How can I add new options to the existing attribute of type Select using JSM Cloud Asset Rest apiHow can I add new options to the existing attribute of type Select using JSM Cloud Asset Rest api

 

Below api is recreating the entire select list, which is causing problem existing Objects

 

https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/{workspaceId}/v1/objecttypeattribute/{objectTypeId}/{id}

 

            payload = {
                "options": option_value_list_str
            }
option_value_list_str -> String of comma seperated Set

referred from: https://developer.atlassian.com/cloud/assets/rest/api-group-objecttypeattribute/#api-objecttypeattribute-objecttypeid-id-put

 

1 answer

0 votes
Marc -Devoteam-
Community Champion
December 4, 2025

Hi @Kiran_ Pedduri 

The issue lies with that the API calls on Assets are update and replace, not append.

See also https://jira.atlassian.com/browse/JSDCLOUD-14796 

So currently this can only be done via the GUI.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events