Improve the way we set the clause name when looking for auto complete suggestions
Description
In some cases auto complete suggestion will return an empty list if the field name is not unique. This is due to the way we determine the clause name when looking for the auto complete suggestions.
Steps to reproduce
Create two single select list fields with the same name
Create a synchronization
Add a correlation field mapping for the field
Or Add a default value for this field
Expected result The user can map select the options to map.
Actual result The user can not select any options.
Workaround Rename the custom field so that is has a unique name. Note: In general, we do not recommend to have custom fields with the same name to ease the configuration pain for the Jira administrator and to save custom fields which will affect your performance. If you want to have different options for different select fields, you can rather use different field configurations instead.
In some cases auto complete suggestion will return an empty list if the field name is not unique. This is due to the way we determine the clause name when looking for the auto complete suggestions.
Steps to reproduce
Create two single select list fields with the same name
Create a synchronization
Add a correlation field mapping for the field
Or Add a default value for this field
Expected result
The user can map select the options to map.
Actual result
The user can not select any options.
Workaround
Rename the custom field so that is has a unique name.
Note: In general, we do not recommend to have custom fields with the same name to ease the configuration pain for the Jira administrator and to save custom fields which will affect your performance. If you want to have different options for different select fields, you can rather use different field configurations instead.