Migration of category schema
![]()
We are in the planning phase for the category schema migration project. In this we need to migrate all assets containing the categories of a particular schema, say abc to the categories of a new schema, say xyz.
We know that the lifecycles which have the condition set as categories of schema abc will not get trigger after the deletion of abc. Also the policies which are using the categories of schema abc will fail after its deletion. So we need to fetch the following details : 1) The name of all communities and their lifecycles which are using the categories of schema abc as the condition. 2) The name of all communities and their lifecycles and states which have the policy using any category of schema abc. 3) The name of all communities and their legacy review process which have the condition as any category of schema abc. Please let us know how can we fetch the above reports. If there is any way using web URL, DB or API, please let us know the same. Thanks..Payal |
One answer
![]()
... not formal API for this... the following is a description of some internal API .... so helmets, gloves (no grantee) is given here:
You can use rest API to get XML/json (use the proper accept header on your get, or just add .json or .xml to your url); not sure if it will work on legacy: Get Communities: <server url>/internal/communities For each communities get lifecycles: <server url>/internal/communities/<community id from above>/lifecycles For each lifecycle: <server url>/internal/communities/<community id>/lifecycles/<lifecycle from above>.xml You can modify, and PUT back (helmet/gloves on). Comments Hi Gili,
Below 3 URLs constructed based on your input
Gili's response didn't show the URL clearly enough.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.