Hi,
I have a Insight Custom Field (Customfield_14813), this contains 1 or more objects, in an issue.
In a transition I want to have the values from this customfield included in the Attribute ’Resource” of object “Employee System integrator” which is an attribute of type “Object” and refers to the same object type as Insight Custom Field Customfield_14813.
I have set up the Insight Post Function “Set the value of an object attribute with a predefined value” for this:
The resource attribute will be set to ${customfield_14813} in object/s selected in custom field Employee System integrator
Only this works if there is only 1 object in Customfield_14813, if there are more objects in the field it does not work.
The cardinality is in the Attribute "Resource" on Unlimited.
Does anyone have an idea/tip how I can get it to work when multiple objects are entered in a issue?
Regards, Marco
Hi,
I solved it by choosing an Insight Groovy script Postfunction.
I looked at the script that was mentioned https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Post-function-script-to-update-Insight-object-with-values-from/td-p/768424 and rewritten this script to my situation.
Regards Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.