Skip to content

Expose GraphQL web URL and path for epic boards

charlie ablett requested to merge 321385-cablett-epic-board-weburl-webpath into master

What does this MR do?

Expose web_url and web_path via GraphQL for Epic Boards.

  • Add new fields to EpicBoardType
  • Add new handler for Epic Boards to URL builder
  • Add presenter

Behind feature flag epic_boards

To test:

  • enable feature flag epic_boards
  • in GraphiQL, use the following query:
{
  group(fullPath: "group") {
    epicBoard(id: "gid://gitlab/Boards::EpicBoard/7") {
      webUrl
      webPath
    }
  }
}

If you don't already have an epic board created, you can:

Like issue boards, epic boards don't have an IID, just an ID. Previously visited boards aren't supported for epic boards yet.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #321385 (closed)

Edited by charlie ablett

Merge request reports