Export all jira users to csv with Python

Mo Eb February 5, 2023

Hi gurus!

need to export all jira server users to csv, prefer to user python script. any thoughts? which way would be the best approach to this?

I dont want to run queries against database and also cant use any plugins add-ons. So any built in method? apis? scriptrunner?

Please help!

Thanks

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2023

I do not really want this to be an answer because it is not a good one. But yes, Scriptrunner can do it.  We need a bit of code, but it can do anything you want.  A list of users is not a problem, but could you tell us why?  ("all users" is a perfectly valid answer to that!)

Mo Eb February 5, 2023

Hi @Nic Brough -Adaptavist- Thanks for your reply.

We need to export all users in our Jira instances for some internal reporting and stuff.

It would be amazing to be able to get list of all users with their last login date if possible.

Suggest an answer

Log in or Sign up to answer