Initialize the Jira Agile API client with your Jira base URL and API token:
Step 5: Extract the boards
In this step, you're going to use the Jira Agile API, more specifically, the Board service, Gets() method. This methods supports multiple query parameters, but in this example, we're going to use the ProjectKeyOrID param to filter the board linked to a Jira project.
The following example iterates the Board.Gets() method and appends the boards into a slice.