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?
Hello @Wing
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Wing
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}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.