-
Bug
-
Resolution: Fixed
-
High
-
21
-
Severity 3 - Minor
-
7
-
Issue Summary
Currently, creating a custom field that uses the same name as an existing field will break any saved filters that reference the original field by name.
Steps to Reproduce
- Create a saved filter that references an existing custom field by name e.g
"Duplicate Name" = A
- Create a second custom field that uses the exact same name as the custom field from step 1
- Go back to the filter in step 1 and observe that it now broken with the error "The operator '=' is not supported by the 'Duplicate Name' field.":
Fixing the JQL requires changing the query to"Duplicate Name[Dropdown]" = A
This kind of fix may not be scalable.
Expected Results
Any breaking changes resulting from creating or deleting a custom field should be flagged in the UI.
Actual Results
There is no indication that creating or deleting a custom field will result in broken filters.
Workaround
You can delete and rename the newer of the two custom fields.
Conversely, you can make sure that the filter's JQL refers to a custom filter by its ID rather than its name. If you do this, the saved filter will not be broken if you change the custom field's name or if a new field with the same name is subsequently created.
To find all your custom fields' IDs, go to https://<your site name>.atlassian.net/rest/api/3/field
In the following example the id of my custom field is 10098:
To use it in a filter's JQL you need to type cf[10098]
After changing the custom field's name, the saved filter referring to the field's ID continued to work:
Whereas the custom field that referred to the field name has broken:
- is related to
-
JRACLOUD-79587 Deleting a custom field will break saved filters
- Gathering Impact
-
JRACLOUD-82914 Ambiguous autocomplete selection when duplicate custom fields have different cases
- Waiting for Release
-
JRACLOUD-76466 Jira should store the custom field details based on field ID instead of the field name
- Closed
-
JRACLOUD-68370 Prevent users from creating custom fields using the same name as an existing system or custom field
- Gathering Interest
-
JRACLOUD-79757 Filter columns in list-view are not retained for Duplicate customfields, there is one occurrence for duplicate fields in dropdown
- Gathering Interest
-
JRACLOUD-79983 [Tracking in issue links] Various issues related to actions that cause broken Saved Filters
- Gathering Interest
- relates to
-
JRACLOUD-77541 Fields with same name between team-managed and company-managed projects cause inconsistencies on JQL search results
- Closed
-
JRACLOUD-79845 Saved filter for the JQL breaks with when user create the same custom field name in Team Managed Project as of Company Managed Project.
- Closed
-
JRACLOUD-61376 Prevent duplicate field creation
- Not Being Considered
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...