I am trying to copy Affected services value (This field is bult-in for asset Services) to Linked object (This contains services of asset management.) through automation.
When I try to copy it its says "
The Affected Services field is linked to the ootb Assets scheme "Services".
This is a locked schema.
On topic:
Are you using AQL to achieve this?
What do you want to copy, is this assets in another scheme, how is this object type setup?
It is applied when work item is created.
Then applied lookup objects and using this.
objectType IN ("Software services", "Business services", "Applications", "Capabilities") AND Name = "{{issue.Affected services.name}}"
- I am running this on Cloud.
I am trying to copy Affected services field which comes from user to Linked objects. Whih is asset field.
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.
Can you show you full rule.
The work item you are trying to edit is the the item that is being created in the rule?
If this is the case, then this is not possible, as the rule is not running against the created work item.
You will need to do this in a separate rule or in the work item creation action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its been resolved by tweaking lookup query: objectType IN ("Software services", "Business services", "Applications", "Capabilities") AND "Name" = "{{issue.affectedServices.name}}"
instead of using objectTypeId I have used objectType. This resolved my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad it is resolved.
Note, you didn't mention objectTypeId in any of your replies, so I could relate to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
objectType IN ("Software services", "Business services", "Applications", "Capabilities") AND Name = "{{issue.Affected services.name}}"
Name should be in double quotes for this to work.
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.