You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.Flags().StringVar(&sourcePageID, "source-page-id", "", "Source page ID in the provider (required)")
52
54
cmd.Flags().StringVar(&sourceAPIKey, "api-key", "", "Source provider API key (required)")
55
+
cmd.Flags().StringVar(&urlName, "url-name", "", "Optional URL name for a newly created Flashduty public status page; fails if the source page is already mapped to a different URL name")
|`--from`| string | Source provider, currently only `atlassian` (**required**) |
118
118
|`--source-page-id`| string | Page ID in the source provider (**required**) |
119
119
|`--api-key`| string | Source provider API key (**required**) |
120
+
|`--url-name`| string | Optional URL name for the newly created Flashduty public page. It is normalized with the same slug rules as page creation and only applies when the source page is not already mapped. If the source page already maps to a different Flashduty URL name, the command fails instead of changing the existing page. |
120
121
121
122
Returns a job ID plus the command to poll its status. Human output shows the new Flashduty `target_page_id` once the job reaches the `completed` phase — capture that for the subscriber migration.
@@ -250,6 +252,7 @@ flashduty statuspage migrate status --job-id str_abc
250
252
-**Page ID** (int) is the Flashduty status page primary key. **Change ID** (int) is the ID of an incident/maintenance within a page. Don't confuse them.
251
253
-**Migration is async.**`migrate structure` and `migrate email-subscribers` return immediately with a job ID; the actual work happens on the backend.
252
254
-**Two migration jobs, not one.** Structure + history run separately from subscribers. This is deliberate — subscriber import triggers verification emails, so operators verify content first.
255
+
-**`--url-name` is create-only.** Use it to choose the public URL slug for a newly created Flashduty page. It does not rename an existing mapped target page; if the Atlassian page has already been migrated to another URL name, retry without `--url-name` or use the mapped page.
253
256
-**Migration phases** for the structure job progress in order: `components` → `sections` → `history` (incidents + maintenances) → `templates`. The subscribers job has a single `subscribers` phase.
254
257
-**Terminal statuses:**`completed`, `failed`, `cancelled`. Stop polling once any of these appears.
255
258
-**`--notify` is subscriber-visible.** In `create-incident`, omit or set `--notify=false` for silent incidents; set `--notify` when you want an announcement.
0 commit comments