Forums

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

Create and Maintain Service Mgmt Customers from an Assets User schema

deborah a plante
Contributor
January 18, 2024

We are importing our client contacts from Hubspot to Assets.  We would like the Assets Object Schema "Client Customers" to create and maintain the users access, including assigning/removing to an Organization.

Is this possible?

JSM data center v5.12

1 answer

0 votes
Kai Becker
Community Champion
January 19, 2024

Hi @deborah a plante 

I haven't done this yet, but one Server/DC Instances I would say pretty much everything is possible, but maybe requires scripting.

Assets Automation could be used to trigger http requests to the REST API but this has two major problems:

1. The things you can configure within the Asset Automation Rules are very limited
2. The APIs mentioned above are experimental and could change or get disabled in further Jira versions

Best way would probably be:

1. Using Asset Automation to trigger a ScriptRunner Script
2. Using ScriptRunner and native JAVA APIs to create and modify the organizations

Here are some more links on Scripts for accessing the Organizations data:

https://library.adaptavist.com/entity/add-user-to-organisation-when-service-desk-issue-created

https://library.adaptavist.com/entity/use-the-rest-endpoint-to-get-list-of-organizations

 

Hope this helps you get started.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events