Include Page | ||||
---|---|---|---|---|
|
Topics
Table of Contents | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Assumptions and considerations
...
Follow the detailed guide available here - https://releasemanagement.atlassian.net/wiki/spaces/RM4J/pages/1643544577/Migration+to+Cloud#Annex%3A-Migration-of-Gadgets.
Special permissions
Recreate special permissions manually on both global and project levels, such as:
...
The following lookup tables are to be created:
Proejct Project ID DC -> Project ID Cloud
Version ID DC -> Version ID on Cloud
Board ID DC -> Board ID Cloud
...
In order to get comments, for each Package ID, execute the request:
GET https://<your_jira_url>/rest/release-management/1.0/release/comment/<release_id>/comments
Get the response and store comment values for each package. All other fields are not needed
...
In order to get Milestones, for each Package ID, execute the request:
GET https://<your_jira_url>/rest/release-management/1.0/release/<package_id>/milestone
As a result, the collection of milestones will be received
For each milestone store:
Name
Description
Date
Archived flag
Archived Date
Collection of triggers
...
Please use all entitled IDs from look-up tables to match DC IDs with Cloud IDs (for instance mapping of Cloumn Column ID)
For each package in the data set execute:
POST https://rmcloud-prd.releasemanagement.app/api/1/package
Payload:
Code Block |
---|
{ "boardId":"<board_id>", "name":"<Name>", "description":"Migrated package Description", "versionIds":[ "<version_id_from_lookup>", "<version_id_from_lookup>", "<version_id_from_lookup>" ], "virtualVersionIds":[ ], "columnId":"<column_id_from_look_up>", "synchronize":false, "synchronizeParams":{ "name":true, "description":true, "startDate":true, "releaseDate":true }, "startDate":"<start_date>", "releaseDate":"<end_date>" } |
...
For newly created packages execute the request:
POST https://rmcloud-prd.releasemanagement.app/api/1/tag/package/<package_id>
Payload:
Code Block |
---|
["<add_tag_coma_separated>","<add_tag_coma_separated>"] |
...
For each comment in the dataset execute the request:
POST https://rmcloud-prd.releasemanagement.app/api/1/package/<package_id>/comment
Payload:
Code Block |
---|
{"content":"<comment text>"} |
...
For each milestone in the dataset please execute the requests
Create Milestone:
POST https://rmcloud-prd.releasemanagement.app/api/1/package/<package_id>/milestone
Payload:
Code Block |
---|
{ "boardId":"<baored_id>", "name":"<Milestone_name>", "date":"<milestone_name>", "packageId":"<package_id>" } |
...
Update milestone with extra data
Execute request:
PUT https://rmcloud-prd.releasemanagement.app/api/1/package/milestone/<milestone_id>
Payloads:
Update description:
...
For each comment in the dataset execute the request:
POST https://rmcloud-prd.releasemanagement.app/api/1/board/<baord_id>/version/<version_id>/comment
Payload:
Code Block |
---|
{"content":"<comment text>"} |
...
For each milestone in the dataset please execute the requests
Create Milestone:
POST https://rmcloud-prd.releasemanagement.app/api/1/version/<vesion_id>/milestone
Payload:
Code Block |
---|
{ "boardId":"<board_id>", "name":"<name>", "date":"<milestone_date>", "versionType":0 } |
...
Update milestone with extra data
Execute request:
PUT https://rmcloud-prd.releasemanagement.app/api/1/version/milestone/<milestone_id>
Payloads:
Update description:
...
Info |
---|
Multiple properties could be changed in a single request. |
Include Page | ||||
---|---|---|---|---|
|