Hello All, I'm extremely new to Insight and have hit a stumbling block with auto populating attributes.
In the insight object schema "Assets", I have two objects: Computer and Department.
On the Computer object, I have an attribute linking the department object and another text attribute called Manager. On the department object there is also an attribute called Manager.
When selecting a department on a computer object, I want to auto populate the Manager attribute on Computer with the value from the Manager attribute in the linked department. And when ever the department is changed, it needs to auto update the Manager attribute with the new value
I've searched around the community but can't quite find what I'm looking for. Any help would be greatly appreciated.
Thanks in advance
Hi @Phil Patrick welcome on the community :)
You need to use global automation rule to achieve this. I just tested it and following rules work for me:
Let me know if you need more help :)
Thanks so much for the reply, although I have some differences in my options available. For a start, I don't have the "Global Automation" in the menu on the left like you do, I simply have Automation Rules and then an option to select Global Rules and create a new one:
Then when I create a new rule, I don't have the "Object updated" trigger, they all seem to be issue related as opposed to Insight objects:
So I tried to use your suggestion withing the insight object schema automation:
But this doesn't work. Thanks again for taking the time to reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Phil Patrick what version of Cloud do you use? Are you on Premium plan and do you have Jira Service Management installed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, OK I think that clears up why our options are different. Wasn't aware there was such a difference between cloud and data centre. I'm using JIRA Software 8.13.15 with Service Desk 4.13.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so you have other possibility here. Unfortunatelly I don't have similar environmet to test it. I just briefly checked the documentation: https://confluence.atlassian.com/servicemanagementserver/configuring-automation-rules-1044784502.html
And in worst cases you can use Groovy scripts to perform the update operation on your "linked" object (search for "Execute Groovy script").
Let me know if it helped...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Martin. I think my issue with the insight automation is that I can't help smart values, unless I'm getting the syntax completely wrong.
I've managed to input hard coded text values, but when ever I enter a smart value it just populates the field with the text of the smart value not actually the value I want.
Will focus on groovy script for now, thanks again for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.