I want to copy the values of the Inspector (a multi-user picker custom field) from issue EX-1 in pro
Asked by Wing:

![image.png](/t5/image/serverpage/image-id/344552i82CCF89E99EFCF2D/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/344558i860DEE105ABAC315/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/344560iAD4F327CA5FFBD13/image-dimensions/586x255?v=v2 "image.png")

I want to copy the values of the Inspector (a multi-user picker custom field) from issue EX-1 in project (EX) to the Inspector field in an issue in project (MY) using automation.

The current error message is: "Error while parsing additional fields. Not valid JSON." How can I optimize this automation?


Answers:
author: Trudy Claspill
body: Hello [@Wing](/t5/user/viewprofilepage/user-id/5573169)

Welcome to the Atlassian community!

Are both projects Company Managed projects?

Do you want to copy all of the values?

If so, then you don't need to use JSON. You can use the COPY option for the field.

![Screenshot 2024-08-29 at 10.10.36?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/344627iDB014D44AD787954/image-size/large?v=v2&px=999 "Screenshot 2024-08-29 at 10.10.36?AM.png")![Screenshot 2024-08-29 at 10.11.10?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/344628i9191FCFB03566919/image-size/large?v=v2&px=999 "Screenshot 2024-08-29 at 10.11.10?AM.png")

comments: author: Wing
body: Source field from another project, I through lookupissues query, when I need to I query to the issues inside the field value loop copy to the issues I connected


author: Trudy Claspill
body: Hello [@Wing](/t5/user/viewprofilepage/user-id/5573169)

I am not clear about what you are trying to accomplish with your Automation.

You trigger the rule manually on a specific issue.

You then execute a Lookup Issues action to retrieve all the issues from the EX project.

Q1: Are you triggering the rule from an issue in the EX project or another project?

You said you want to copy the date from one specific issue - EX-1 - but your Lookup Issues action is getting all the issues from the EX project.

Q2: Do you really want to copy the data from one specific issue, and is it always the same issue?

Q3: Is that issue linked in any manner to the issue you want to update?

If you want to get the data from one specific issue, change the Lookup Issues action to retrieve that one specific issue using the JQL

issue=EX-1

Then in your Edit Issue action you again do not need to use JSON. Instead set the field using the smart value:

{{lookupIssues.first.customfield_10050}}

![Screenshot 2024-09-03 at 12.46.42?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/345372iA8B1F1A69138CA98/image-size/large?v=v2&px=999 "Screenshot 2024-09-03 at 12.46.42?PM.png")


author: Wing
body: Thanks for your reply. I tried the method {{lookupIssues.first.customfield_1000}}, but because the type is (multi-user) and the log says: Non-active user \[64004523bd6454c33dad1,7464846a484i464hdjj3ui\], I wondered if I needed to use the id of the query in a JSON format before copying.


author: Trudy Claspill
body: Why are you trying to copy/add a Deactivated user account to the field?

Does Jira allow you to manually add a Deactivated user to that field? I suspect it does not. In that case you would not be allowed to add a Deactivated user via Automation either


Tags: cloud

cloud-automation

jira-cloud