I execute a groovy script from JIRA Service desk and want to create an object in Insight based on information provided in Customer fields. I am able to get it to work for Default, User and Object attributes types, but are uanble to workout how to set the Status and Project attributes.
Looking for any groovy examples or information about the relationship of these attribute types
Hi,
From Insight 5 we have provided an easier way to update attributes of different types with the ObjectAttributeBeanFactory. It will handle the creation of the object attribute bean with all values added to it correctly. It will not store the attribute so after creation you will have to add it to an object and store it.
An example can be found here https://documentation.riada.se/display/ICV50/Update+object+attribute.
Ola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tanya Tranter, @Ola_Melin,
In my scenario I have a PC object with attribute of type object referencing to Employee object type. I want the user to choose the PC and Employee in their respective custom fields and the post function will put the value of the Employee in the attribute of PC. I have used the example above to do it with attributes of type text and it works. How to do it with Object types.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pcAttributeValueBean.setReferencedObjectBeanID(employeeObject.getId())
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does anyone have a working example of this? Trying to get something working and having a hard time.
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.