Forums

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

Is it possible to create an user type object when a new user is added automatically?

Sofia Grunspan
Contributor
February 9, 2023

Hi! I've been asked to find a way to create an object in Insight automatically every time an account is added  or created in Jira.

There is  any script or add-on that can automatically add users as Assets Employee objects when users are given Atlassian accounts?

This Jira instance has Atlassian Access.

I hope you can help

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
February 9, 2023

Hi @Sofia Grunspan

If you're using JSM for onboarding, you could potentially tack on to that.  For example, manager puts in a request for x employee.  A sub-task goes to IT for provisioning their account.  Once that sub-task is complete, you could use automation to create the object.

Otherwise, there are no automation triggers for new users.  I had a similar need in the past and the dev team ended up creating integration with the identity management solution to populate my asset object on a schedule.  

Nicolaus Brooks August 16, 2023

Hi @Mark Segall what was the cost of that integration or do you have any resources on how to complete the automation either with cascading custom fields in the support ticket and running automation off the request form? Is this possible?

Mark Segall
Community Champion
August 16, 2023

Hi @Nicolaus Brooks and welcome to the community!

Let me start backwards in my response:

running automation off the request form? Is this possible?

There are a lot of things you can do with automation.  I'd need more specifics on what you're thinking around automation.  Is it your intent that when a request is submitted you're trying to create a new asset object or is your question more general about automation?

do you have any resources on how to complete the automation either with cascading custom fields

When you mention "cascading custom fields" are you talking about the actual custom field type Select List (Cascading) or creating a cascading experience from multiple Asset Objects custom fields? 

what was the cost of that integration

For that use case, they wanted to establish SSO for their customers and we created a mechanism for creating unlicensed Atlassian accounts linked to their IDM. As part of that process, the solution added a respective user object for downstream processing.  Cost of such an integration would depend upon the IDM solution, number of users, onboarding process, etc. If you have some savvy developers, they could pick things up once they understand the APIs. if you're resource constrained or interested in a partner, I can shamelessly plug my organization (Slalom) who is an Atlassian Global Alliance Partner (ping me on linked in if this interests you).

Nicolaus Brooks August 22, 2023

@Mark Segall 

Yes I am trying to create a new asset object with automation when a request type is submitted. Trying to use the value of a custom (text) field to create the name and eventually the other attributes that are tied to that object type. I keep receiving an error in the audit log. Included screenshots for reference.

 

As for the cascading custom fields, I am trying to create a cascading experience from multiple asset objects custom fields. Mainly trying to understand how I can build out a request type to onboard a new employee and create objects and attached to the jira ticket all with automation.

 

Can you confirm if this is the correct smart value command to grab the value that is entered into my (text custom field) on my onboard new employee request type? Any help is greatly appreciated. 

 

{{get(issue.customFieldId=10184.value)}} or {{issue.customFieldId=10184.value)}}

^I tried both and receive an error still.

 

Snag_4d98ff7.pngSnag_4d99e9d.pngSnag_4d9adef.png

Mark Segall
Community Champion
August 22, 2023

You'll want something like this:

{{issue.customField_10184.value}}
Like Nicolaus Brooks likes this

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