Forums

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

Unable to create a new detail for organization

Ben Jessup
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 20, 2023

When using the CSM API to update a detail on an organization it returns an error 

"errorMessage": "Attribute does not exist"
when trying to add a detail that doesn't already exist.
My use case requires creating the detail for each organization before they have been added manually in the UI. Is this possible using the current API? Ideally that endpoint would create the detail if it does not already exist, or alternatively there should be another endpoint for "Create a new detail value for a given organization".

1 answer

0 votes
Joseph Chung Yin
Community Champion
December 20, 2023

@Ben Jessup -

Hi Ben:

Welcome to the community.  Although I am not an expert on providing functionality via REST APIs, my question to you is that if the Organization record has not been created, how can you update attributes associated to the Organization entry?

What attribute(s) that you are trying to update?

Lastly, it is my knowledge that there is an existing enhancement request on the Atlassian side to allow users to store more information against the Organization object - https://jira.atlassian.com/browse/JSDCLOUD-5966 .  You should add yourself as a watcher to receive case updates.

Please advise, so we can assist you further.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Joseph Chung Yin
Community Champion
December 20, 2023

@Ben Jessup -

After further analysis, if your APIs calls updating a custom field (i.e. single select/multi-select data type format) created for an organization and the options are not already defined beforehand, then you will need to update the field's option first to avoid attribute option not found error.

Again, I am still waiting for your response to my questions in my original; posting.

Best, Joseph

Suggest an answer

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

Atlassian Community Events