Hello Atlassian Community,
I have the following case in Jira Service Management Assets: I want to check if an Object already exists in an Object Schema. When a JSM ticket is created, we create an Object in the Object Schema "Customer Companies". "e still need the condition to check if an Object with the same name already exists in the schema. If yes, no additional object is to be created. How can I add this to the automation? I have added a screenshot of the automation.
Many thanks
Hi @Tobias Koch ,
Use the 'lookup objects' component, with
objecttype = "yourObjectType" and label = "{{issue.fields.customfield_10965}}"
Then use and 'advanced compare condition' component with
{{lookupObjects.size}} equals 0
Then the 'create object' component
Now it will only create an object if it does not exists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.