Skip to content

Created group saved replies GraphQL queries

Phil Hughes requested to merge ph/groupSavedRepliesGraphqlQuery into master

What does this MR do and why?

This creates a query to get all saved replies in a group and a query to get a single saved reply in a group.

#330098 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

How to set up and validate locally

  • Enable group_saved_replies_flag feature flag
  • Have a premium+ license
  • Open GraphQL explorer and run the below:
query groupSavedReplies {
  group(fullPath: "gitlab-org") {
    id
    savedReplies {
      nodes {
        id
        name
        content
      }
    }
  }
}
query groupSavedReplies {
  group(fullPath: "gitlab-org") {
    id
    savedReply(id: GLOBAL_ID_OF_GROUP_SAVED_REPLY) {
      id
      name
      content
    }
  }
}
Edited by Phil Hughes

Merge request reports