Expose GraphQL web URL and path for epic boards
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:
- use the GraphQL query in !52258 (merged) OR
- view the index page for your group at https://localhost:3000/groups/group/-/epic_boards for one to be created automatically.
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
- [-] Changelog entry
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
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