How can I perform bulk editing of issues in a specific project using Python and JIRA REST API 3? I need to edit issues with a status of 'Reopened' or 'In Progress' and add labels to each issue. With potentially thousands of issues in the project, what is the most efficient approach to achieve this?