-
Bug
-
Resolution: Fixed
-
Low
-
10.123.3
-
2
-
Severity 2 - Major
-
No
Issue Summary
Custom team mappings are being copied automatically when toggling the project dropdown to a project without existing mappings, in Jira Setttings → Manage Custom Fields → Sync Jira Team Values with Jira Align Teams.
The new mapping entries clutter up DB and API, and have potential to cause issues syncing custom teams because the project-specific mappings don't get updated when the default mappings are changed.
Steps to Reproduce
- Go to Jira Setttings → Manage Custom Fields → Sync Jira Team Values with Jira Align Teams
- Have/create some team mappings on the default page without selecting any project (save if create new ones)
- Optionally GET ALL team mappings using API (/align/api/2/Connectors/{connectorId}/customFields/teams)
- and filter in your script by projectKey == null to see those mappings
- Select some project in Jira where you know you haven't created any mappings
- it shouldn't come up in the API when filtering by projectKey
- Select that project in the UI dropdown, do not click save, all we do is load that page
- Now check the API and filter by that projectKey, you will see the new mappings being added
- Deleting some mappings from the default page doesn't propagate, the old mappings remain in the project-specific view
Note: in this picture this project should not have any mappings, they are newly added when navigating to it.
Expected Results
It is expected that selecting a Jira project in the custom mapping dropdown will return an empty list unless it was configured by a user previously. It is expected that the new mappings will not be added unless the Update button is pressed.
Actual Results
Mappings are copied automatically, they clutter up DB and API, and have potential to cause issues because the project-specific mappings don't get updated when the default mappings are changed.
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.
If you're only using the default mappings, avoid selecting a Jira project in the custom team mapping menu.
- relates to
-
JIRAALIGN-5337 API: Connector custom fields teams can't be filtered on some of the fields
- Closed
- is related to
-
PS-141133 Loading...