Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Affected Services to Assets field

Sidra Shakoor
January 26, 2026

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 "

Unable to retrieve the configuration management database (CMDB) when updating the work item field
Bad Request
No fields or field values to edit for work items (could be due to some field values not existing in a given project):"

1 answer

0 votes
Marc -Devoteam-
Community Champion
January 26, 2026

Hi @Sidra Shakoor 

The Affected Services field is linked to the ootb Assets scheme "Services".

This is a locked schema.

  • Please provide your current automation rule and specify details of the steps in the rule.
  • Also provide audit log information.
  • Are you running Cloud or DC?

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?

 

Sidra Shakoor
January 26, 2026

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.

Sidra Shakoor
January 26, 2026

Screenshot 2026-01-26 114602.png

Marc -Devoteam-
Community Champion
January 27, 2026

Hi @Sidra Shakoor 

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.

Sidra Shakoor
January 27, 2026

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.

Like Marc -Devoteam- likes this
Marc -Devoteam-
Community Champion
January 27, 2026

HI @Sidra Shakoor 

Glad it is resolved.

Note, you didn't mention objectTypeId in any of your replies, so I could relate to this.

 

Sidra Shakoor
January 27, 2026

objectType IN ("Software services", "Business services", "Applications", "Capabilities") AND Name = "{{issue.Affected services.name}}"

 

Name should be in double quotes for this to work.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events