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