You could do it with the REST api if you are programatically inclined. Or if this is a one off kind of thing you ould try an add-on from the marketplace that could do it. I've provided a link below (I've no affiliation with them).
Just for anyone else looking for this as I spend a few days trying to find something to do this easily with.
I attended Atlassian Summit 2019 and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events