Hi,
We're trying to fill in in an Insight custom field, based on an outbound reference of an object selected in another Insight custom field.
We have two object types ABC & XYZ. In object type XYZ, there is a reference to an object within ABC. We've created a two custom fields for ABC & XYZ as well. If we select an object in XYZ, we want the referenced object to be added to the ABC field.
I've tried to set this up with automation for Jira but without success.
Any help is greatly appreciated.
Hi,
There is a very useful way in Insight DC to automatically update a custom field depending on other field values in the issue. Using the Filter Assign Scope (with checked "Assign strict") you will update your field on any update of the issue.
For example, if we have a field Affected Service that the user sets and we want to set the Service Category field automatically depending of the service. Assuming also that we have an object reference from Service to Category in Insight objects.
Then you could configure your Service Category field like this:
Filter Assign Scope (IQL): object HAVING inboundReferences(objectType = "Business Services" AND Key = ${Affected Service})
Make Filter Assign Strict = True
This will update - not add the values in the field but maybe you can use this anyhow.
Björn
Hi Björn,
Thank you for the answer, I already looked into this option, but this didn't work out the way we needed it to.
Thanks anyway!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think this is possible with Automation out of the box.
You need access to Insight-automation or some groovy engine (like scriptrunner or insight groovy automation).
Since Insight doesn't have a way to process edit events (like automation or scriptrunners do), you would need to somehow force this sort of edit to be done via a dedicated workflow screen (i.e. don't show the XYZ field on the create or edit screen, only on a special screen called by a special workflow transition [from any status to itself]).
Then you will have access to the insight post functions - one of them being a groovy script option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! Was thinking about this as well, but wanted to see if an option without a transition (screen) 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.