File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,21 @@ The object now references the latest fragment version (`custom_type_fragment/2`)
388
388
the optional release notes field is absent, the tenant fragment remains attached,
389
389
allowing for future tenant-specific field additions.
390
390
391
+ #### Bulk upgrades
392
+
393
+ All objects of a given type can be upgraded to the latest fragment version using the
394
+ ` objects.bulk-upgrade ` API. It is an async API that schedules a job to scan all the
395
+ objects of the given type and upgrade them.
396
+
397
+ ``` curl {16-18, 21}
398
+ curl --location 'https://api.devrev.ai/internal/objects.bulk-upgrade' \
399
+ --header 'Content-Type: application/json' \
400
+ --header 'Authorization: Bearer <TOKEN>' \
401
+ --data '{
402
+ "type": "issue"
403
+ }
404
+ ```
405
+
391
406
## Deprecate custom schema fragments
392
407
393
408
Custom schema fragments can be deprecated to avoid creating work items using them. The
You can’t perform that action at this time.
0 commit comments