Hello,
is there a way to set a dedicated value to an object during the import?
My use case:
I am importing user-data with a specific GUID, this GUID could be used to build an URL which links to the persons intranet-profile.
What i'd like to do is give the importer a value to add in front of the imported GUID.
E.g. "https://intranet.mysite.com/" + Importvalue (the GUID)
Best regards
Hi Thomas, I would like to refer you to a similar question answered at https://community.atlassian.com/t5/Marketplace-Apps-questions/How-to-add-custom-field-while-importing-in-Insight/qaq-p/723536?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_answer&utm_content=topic
This example might need some extra lines added to get the value from the attribute containing the GUID, but you have access to the object and it's values using object in groovy script, as mentioned at https://documentation.riada.se/insight/latest/insight-manager-s-guide/insight-automation
That represents the object bean https://insight-javadoc.riada.se/insight-javadoc-5.3.1/com/riadalabs/jira/plugins/insight/services/model/ObjectBean.html where you can get a list of all attributes and their values using getObjectAttributeBeans()
and then getObjectAttributeValueBeans() for the attribute that you're interested in.
If you feel like you need help configuring scripts like this, we have partners available at riada.se/partners
Best Regards
Alexander
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.