1. Problem Statement
Migrate the boards and filters to Jira cloud from server using API’s, During the migration boards and filters are not migrated
2. Analysis
Checked the API’s for getting boards and filter details
Method | API | Description | ||
---|---|---|---|---|
1 | Get all Boards | GET | Will return all the boards | |
2 | Get One Board | GET | http://url/rest/agile/1.0/board/{boardId} | Will return the specific board information |
3 | Get Filter | GET | http://localhost:8080/rest/api/2/filter/{filterId} | Will return the specific filter information |
4 | Get board associated project | GET | http://localhost:8080/rest/agile/1.0/board/{boardId}/project | will return the project details |
3.Solution
Step1: Get the filter details using filter Id(from extracted Data set)
Step2: Get the cloud project id using server project key
Step 3: Create the filter
Step 4: Get the board details using board Id(from extracted Data set)
Step5: Get the project associated with the board from server instance
Step6: Get the cloud project id using server project key
Step7:Create the board
4.Estimation
Sl.No | Tasks | Description | Estimated Efforts(hrs) |
---|---|---|---|
1 | Filter | ||
1.1 | Extract the list of filters from Jira Server DB | 1h 30m | |
1.2 | Get the filter details using filter Id(from extracted Data set) | 1 | |
1.3 | Get the cloud project id using server project key form filter response | 1 | |
1.4 | Create the filter | 1h 30m | |
1.5 | Add the owner for the filter | 1 | |
1.6 | Testing | 1 | |
2 | Board | ||
2.1 | Extract the list of boards and its associated filter from Jira Server DB | 1h 30m | |
2.2 | Get the board details using board Id(from extracted Data set) | 1 | |
2.3 | Get the project associated with the board from server instance | 1 | |
2.4 | Get the cloud project id using server project key | 1 | |
2.5 | Create the board | 1h 30m | |
2.6 | Testing | 1 | |
3 | End to End Testing | ||
3.1 | Testing in experian sanbox cloud instance | 2 | |
4 | Adding boards and filters to production |