Skip to content

Fix GraphQL Boards labels setting

Natalia Tepluhina requested to merge ntepluhina-fix-labels into master

What does this MR do?

This MR fixes a bug that was present on GraphQL issue boards: when setting labels to issue A and clicking on the card of issue B, the updated labels are applied to the issue B. In the current MR, we add a watcher to "store" the current issue id and apply the labels correctly. This solution is a bit hacky, the proper fix will be a part of &6092 (closed)

Screenshots or Screencasts (strongly suggested)

labels

How to setup and validate locally (strongly suggested)

Note make sure that :graphql_board_lists is enabled

  1. Go to issue boards/epic boards
  2. Select an issue
  3. Select a label (don't off click yet)
  4. Off click onto another issue
  5. Labels should be applied correctly to the first issue

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related issue: #334465 (closed)

Edited by Natalia Tepluhina

Merge request reports

Loading