I want to edit custom field by automation when issue created.
My project is a team-managed project, added 2 request type.
Their have same name custom field, 'custom_field_1'.
I create automation rule, Edit custom_filed_1 when create request_type_A issue.
I created reqeust_type_A issue, automation status is SOME ERROR in audit log.
How to fix this error?
(Cannnot the same name custom field cannot be set for different request types?)
Hello @Naoki
When you added "custom_field_1" did you created the new custom field twice, once in each request type? Or did you create it just once in one of the request types and then search for it to add it to the second request type? If you created the field twice then you have two fields with the same name.
The system is finding more than one custom field with that name. It may be finding the other fields of the same name in other projects. Because of there being multiple fields with the same name, the automation rule can't determine which one you want to update.
One solution is to change the field name to make it unique. The other suction is to identify the IS number of the field in each request type and then used Advanced Editing with JSON to edit the field.
For instructions on finding the ID refer to
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
For instructions on Advanced Editing with JSON refer to
https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/
Hello @Trudy Claspill
AWESOME! It's the answer I'm looking for.
I searched and set it to the second request type, it worked as intended.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Naoki
If you check your custom fields, do you have two custom_field_1 's?
to check go (Settings > Issues > Custom Fields) and search custom_field_1 and make sure there is only one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Christopher Yen
I checked Settings > Issues > Custom Fields, but couldn't find it.
(Maybe it's because team-managed project?)
Thank you
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.