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
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.
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.
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG