Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Creating a User Asset object when a New user form is submitted

Gerrald Stephen April 30, 2024

Morning All,

We have setup a New User request form and linked the main data fields such as Name, Location, Department to Custom Jira fields.

I wanted to know if I can setup an automation to automatically create a New User object with the Attributes from the form fields. I tried setting up the automation with Form submission as the trigger and the action being to Create Object. An example of the attributes I set was as follows:

Name : {{issue.Employee First Name}} {{issue.Employee Last Name}} (Linked Jira fields)

The rule runs but comes up with the error as follows:

{"errorMessages":[],"errors":{"Company":"The value provided is invalid"}}

Has anyone been able to do this?

TIA.

1 answer

0 votes
Vijay Dadi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2024

Hello @Gerrald Stephen ,

Do you have a Company as an attribute in your object schema. Can you please provide a screenshot of your automation, so that it provides better understanding of the issue.

Gerrald Stephen May 19, 2024

Hi @Vijay Dadi ,

Thank you for your response. I have confirmed that we do have the company as an attribute in the Staff object schema.

Here is the screenshot of the automation action:

image.png

I have selected the trigger as when the Onboarding form is submitted. As mentioned, the Employee location and name is a linked Jira field on the form.

Let me know if there is anything further that you need from me.

 

Kind regards,

Gerrald Stephen

Vijay Dadi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2024

The field Company is free text field or a reference to an Object, where Company name is a part of another schema?

Gerrald Stephen May 20, 2024

Hi, is this for the field in the automation? If so, then the Company field is a free text field. I don't have a field in the form with the company field.

I had a look at the object schema and the Company attribute has the Type value as the Department Field. Would editing the field for this in the automation make a difference?

Suggest an answer

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

Atlassian Community Events