How do you create a key for an organization property?

andywalsh
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!
March 6, 2024

One can use the REST API to set a property value, but seemingly only if the key exists.

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-organizationid-property-propertykey-put

And right now, no keys exist for the organizations we have.

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-organizationid-property-get

returns an empty array.

 

Alternatively, organizations have "details" that can be edited via the UI. That appears to call persisted queries in the GraphQL API, but those don't seem to be callable from other software. (I get authorization errors when I try). Is there a way to create and edit those details via the GraphQL API from other software?

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