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.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Deployment

Cloud
Data Center

Components

Fix versions

Priority

Backbone Issue Sync

Created June 5, 2019 at 7:32 AM
Updated February 15, 2023 at 4:41 PM
Resolved July 30, 2019 at 8:26 AM