+
+
+ Release templates
+
+
+ Standardize your team's approach to rolling out new
+ functionality with release templates. These templates allow you
+ to predefine strategies, or groups of strategies, making it
+ easier to set up new flags and ensure alignment in how rollouts
+ are managed.
+
+
+ Customize templates to suit your needs by adding strategies to
+ specific milestones. Each milestone will execute sequentially,
+ streamlining your release process.
+
+
+ Example usage
+
+
+
+
+ Milestone 1
+
+
+ Enable the feature for internal teams to test
+ functionality and resolve initial issues.
+
+
+
+
+
+ Milestone 2
+
+
+ Expand the rollout to 20% of beta users to gather
+ feedback and monitor performance.
+
+
+
+
+
+ Milestone 3
+
+
+ Release the feature to all users after confirming
+ stability and addressing earlier feedback.
+
+
+
+
+
+ );
+};
diff --git a/frontend/src/component/releases/hooks/useTemplateForm.ts b/frontend/src/component/releases/hooks/useTemplateForm.ts
index 28d070d6bd14..142faa1bd792 100644
--- a/frontend/src/component/releases/hooks/useTemplateForm.ts
+++ b/frontend/src/component/releases/hooks/useTemplateForm.ts
@@ -42,6 +42,7 @@ export const useTemplateForm = (
return {
name,
description,
+ milestones,
};
};
diff --git a/frontend/src/hooks/api/actions/useReleasePlanTemplatesApi/useReleasePlanTemplatesApi.ts b/frontend/src/hooks/api/actions/useReleasePlanTemplatesApi/useReleasePlanTemplatesApi.ts
index 0bef65e2ffe9..7d8509126819 100644
--- a/frontend/src/hooks/api/actions/useReleasePlanTemplatesApi/useReleasePlanTemplatesApi.ts
+++ b/frontend/src/hooks/api/actions/useReleasePlanTemplatesApi/useReleasePlanTemplatesApi.ts
@@ -1,4 +1,7 @@
-import type { IReleasePlanTemplatePayload } from 'interfaces/releasePlans';
+import type {
+ IReleasePlanTemplate,
+ IReleasePlanTemplatePayload,
+} from 'interfaces/releasePlans';
import useAPI from '../useApi/useApi';
export const useReleasePlanTemplatesApi = () => {
@@ -23,7 +26,7 @@ export const useReleasePlanTemplatesApi = () => {
const createReleasePlanTemplate = async (
template: IReleasePlanTemplatePayload,
- ): Promise