Forums

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

Automation returning errors, unable to find cause

Akina Yoshida July 26, 2023

I have created an automation for one of my projects using the "issue transitioned" trigger which then updates a datepicker field through the "edit issue" option. I have implemented this exact automation in 3 other projects and followed the same process for all, however solely this project returns the following error message:

 

Found multiple fields with the same name and type: .
Done Date (com.atlassian.jira.plugin.system.customfieldtypes:datepicker)
No fields or field values to edit for issues (could be due to some field values not existing in a given project):
The field exists within the project and there is only one field called "Done Date". What could be causing this?

3 answers

1 vote
Trudy Claspill
Community Champion
July 26, 2023

Hello @Akina Yoshida 

Welcome to the Atlassian community.

Are the projects with which you are working Team Managed projects or Company Managed projects?

Can you show us the details of the rule?

Can you show us an example issue from the project, showing us the "Done Date" field?

Jira does not prevent the creation of multiple custom fields with identical names. On top of that in Team Managed projects each project can create its own custom fields again using the same names as other fields that already exist.

In that case you may need to identify the unique custom field identifier for that field in that project using the method described here:

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Once you have that you would then have to edit the field using JSON rather than simply picking the field from the available field list.

Dan Tombs
Community Champion
July 26, 2023

You may find that there is a context on the done date field stopping the issue being edited on the issue. With custom field with duplicated names. Just use the {{issue.customField_<insert field number>}}. You don’t need to edit using json

Trudy Claspill
Community Champion
July 26, 2023

@Dan Tombs 

In the Edit Issue action how do you specify the field you want to edit by using a smart value for that field, if not by using the JSON edit option? Please share a screen image.

I don't see an option to use a smart value for identifying the field to be edited.

Screen Shot 2023-07-26 at 3.14.21 PM.png

Akina Yoshida July 27, 2023

@Trudy Claspill I have included screenshots of how this appears within the issue and is set up.

When setting this up, I followed nearly an identical process for the "Created" and "In Progress Date" automations which have been working fine.

@Dan Tombs As said above, if you could include a screenshot of how to use the custom field without needing JSON, please provide.

Screenshot 2023-07-27 092045.png

Screenshot 2023-07-27 091252.pngScreenshot 2023-07-27 091224.png

Trudy Claspill
Community Champion
July 27, 2023

Are the projects with which you are working Team Managed projects or Company Managed projects?

Are you able to edit the field directly when you are viewing the issue?

If you go to the issue search screen (View all issues under the Filters menu) and type Done Date into the JQL field do you get multiple matching fields?

Example:

Screen Shot 2023-07-27 at 9.28.18 AM.png

If you are not a Jira Admin, can you also check with your Jira Admins to confirm with them that there are not multiple custom fields with this name?

0 votes
Sayed Bares _ServiceRocket_
Community Champion
July 27, 2023

@Akina Yoshida welcome to the community!

Can you provide more information from your automation rule? perhaps a screenshot would be very helpful?

Akina Yoshida July 27, 2023

@Sayed Bares _ServiceRocket_ please see the screenshots in the reply above.

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2023

Hello, You can try using custom field ID in the automation rule action or if you could find the duplicate field with same name, you can re-name the field to different name.

Akina Yoshida July 27, 2023

@Mohanraj Thangamuthu could you include a screenshot of how to set up the rule in order to use the custom field ID?

Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events