Skip to content

Fix getting of epic board parent

Jan Provaznik requested to merge jp-or-lists into master

What does this MR do and why?

When checking feature flag in BoardItemFilterable module we need to get board's resoruce parent (project or group), but for epic boards resolvers we need to refer to use epic_board (instead of board).

Related to #382969 (comment 1271412420)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Enable or filtering
    Feature.enable(:or_issuable_queries)
  2. Sample query
query {
  group(fullPath: "flightjs") {
    id
    epicBoards {
      nodes {
        id
        lists(epicFilters: {or: {labelName: ["foo"]}}) {
          nodes {
            id
          }
        }
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vitali Tatarintev

Merge request reports

Loading