You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Which Plugin type would be best to retrieve all users and their roles etc in JIRA?
I'm trying to Develop my own Plugin which will export all of my users in my entire JIRA application but cannot find the best way to do it.
I'm currently trying to make a report plugin, but the tutorial seems a bit out-dated.
Does anybody have any experience doing this?
Sorry, yes you're correct.
I'm using Server, so I've been deving in Java, following the tutorial on the Atlassian site.
I would be wanting to export my user data into an Excel sheet. I have read that Groovy is good for scripting on JIRA.
What do you think? Would it be simpler to Develop a plugin that gets all that data? Or a Script?
So far, I'm not having much luck with the Plugin.
Hi @Daniel Burke,
simpler is relative but my opinion would be if you need excel as an output - use a scripting language.
We tend to use groovy & use:
xlsxwriter - As a library to create Excel Files
And the normal groovy "request" library to interact with the Jira REST API.
Hi @Daniel Burke maybe a simple approach to solve your problem is to directly query the database using a GUI and export the data displayed?
Most Database GUI can export query results to CSV for example